diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/services/restic/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix index a1bcdf6..2231b2a 100644 --- a/sys/services/restic/default.nix +++ b/sys/services/restic/default.nix @@ -29,6 +29,12 @@ "rclone.program='ssh -p 23 ${boxUser}@${boxUser}.your-storagebox.de -i ${config.age.secrets.resticssh.path}'" ]; repository = "rclone: "; # There is only one repository served + timerConfig = { + Requires = "network-online.target"; + OnUnitActiveSec = "30m"; + OnUnitInactiveSec = "2h"; + Persistent = true; + }; }; }; } |