refactor!: use inputs directly instead of overlays
This commit is contained in:
parent
6ceddb1f94
commit
a3289ee611
5 changed files with 7 additions and 17 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{ config
|
||||
, inputs
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
|
|
@ -12,7 +13,7 @@ in
|
|||
options.my.services.timers.enable = mkEnableOption "timers";
|
||||
options.my.services.timers.package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.timers;
|
||||
inherit (inputs.timers.packages.${pkgs.system}) default;
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue