diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 18:45:33 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-08 18:45:33 +0100 |
commit | fadc129bca2bb6ba4b4f9f60880682f75b9934af (patch) | |
tree | 22f7a228fd69927a44c29d321078fc00cddd6e15 | |
parent | 5cb3a9a791ad0d231a1fd8f10d032909f24949a0 (diff) | |
download | nixos-fadc129bca2bb6ba4b4f9f60880682f75b9934af.tar nixos-fadc129bca2bb6ba4b4f9f60880682f75b9934af.tar.gz nixos-fadc129bca2bb6ba4b4f9f60880682f75b9934af.tar.bz2 nixos-fadc129bca2bb6ba4b4f9f60880682f75b9934af.tar.xz nixos-fadc129bca2bb6ba4b4f9f60880682f75b9934af.zip |
ymir: ...
-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 | } |