summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-01-15 15:26:01 +0100
committersils <sils@sils.li>2024-01-15 15:26:01 +0100
commit61637e4f3a4bcbf1d59689f639ebc932c56152b4 (patch)
tree25f77bc1582e42ca3473279d3b55773e0309032b
parentflake.lock: update (diff)
downloadnix-config-61637e4f3a4bcbf1d59689f639ebc932c56152b4.tar.gz
nix-config-61637e4f3a4bcbf1d59689f639ebc932c56152b4.zip
sys/services/restic: trigger first backup 30min after system awakens
-rw-r--r--sys/services/restic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix
index 09c70a0..1bd886a 100644
--- a/sys/services/restic/default.nix
+++ b/sys/services/restic/default.nix
@@ -31,7 +31,7 @@
       repository = "rclone: "; # There is only one repository served
       timerConfig = {
         Requires = "network-online.target";
-        OnUnitActiveSec = "30m";
+        OnActiveSec = "30m";
         OnUnitInactiveSec = "2h";
         Persistent = true;
       };