diff options
-rw-r--r-- | ymir.nix | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1182,4 +1182,13 @@ in rec { | |||
1182 | LogRateLimitIntervalSec = 0; | 1182 | LogRateLimitIntervalSec = 0; |
1183 | }; | 1183 | }; |
1184 | }; | 1184 | }; |
1185 | systemd.timers = listToAttrs (map (t: nameValuePair "borgbackup@${t}" { | ||
1186 | requiredBy = ["multi-user.target"]; | ||
1187 | |||
1188 | timerConfig = { | ||
1189 | Persistent = false; | ||
1190 | OnUnitActiveSec = "1h"; | ||
1191 | RandomizedDelaySec = "1h"; | ||
1192 | }; | ||
1193 | }) ["ymir-home" "ymir-root" "ymir-root\x2dhome" "ymir-srv"]); | ||
1185 | } | 1194 | } |