refactor!: use inputs directly instead of overlays

This commit is contained in:
Moritz Böhme 2024-01-16 12:37:50 +01:00
parent 6ceddb1f94
commit a3289ee611
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
5 changed files with 7 additions and 17 deletions

View file

@ -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 {