cleaning stuff up

This commit is contained in:
ari committed 2024-12-26 15:45:22 -05:00
1 parent 12f53af7d8
commit bf62802ffd
6 files changed
+30 -28

No files matched your search

+8 -1
View File
@@ -12,6 +12,10 @@ in {
type = lib.types.str;
default = "daily";
};
wantedBy = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
};
};
});
default = { };
@@ -21,7 +25,10 @@ in {
systemd.timers = builtins.mapAttrs
(
name: value: {
wantedBy = [ "timers.target" ];
wantedBy = builtins.concatLists [
[ "timers.target" ]
value.wantedBy
];
timerConfig = {
OnCalendar = value.OnCalendar;
Persistent = true;