summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index bbce6fc4..f79f7186 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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}