Compare commits
No commits in common. "0589894ec6f27345aabb4a2f72384208812aa85f" and "56f84fcb369d6418cf4eecbbcf5bb7e8af37d7ca" have entirely different histories.
0589894ec6
...
56f84fcb36
|
@ -50,10 +50,6 @@ in
|
|||
passwordFile = config.age.secrets."restic-backup/zephyrus-password".path;
|
||||
environmentFile = config.age.secrets."restic-backup/zephyrus-credentials".path;
|
||||
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 13:00:00"; # laptop only gets used during the day
|
||||
};
|
||||
|
||||
paths = [
|
||||
"/home/alarsyo"
|
||||
];
|
||||
|
|
|
@ -72,13 +72,6 @@ in {
|
|||
type = types.str;
|
||||
default = "/root/restic/creds";
|
||||
};
|
||||
|
||||
timerConfig = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
default = {
|
||||
OnCalendar = "daily";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -96,7 +89,9 @@ in {
|
|||
extraBackupArgs = [ "--verbose=2" ]
|
||||
++ optional (builtins.length cfg.exclude != 0) excludeArg;
|
||||
|
||||
timerConfig = cfg.timerConfig;
|
||||
timerConfig = {
|
||||
OnCalendar = "daily";
|
||||
};
|
||||
|
||||
pruneOpts = makePruneOpts cfg.prune;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue