summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-08 18:46:47 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-08 18:46:47 +0100
commite8b9708d9591cbb8235b59f9d68154c2f3e3e266 (patch)
tree2149090fb481deb189d5163338cb0e42e99112ea
parentfadc129bca2bb6ba4b4f9f60880682f75b9934af (diff)
downloadnixos-e8b9708d9591cbb8235b59f9d68154c2f3e3e266.tar
nixos-e8b9708d9591cbb8235b59f9d68154c2f3e3e266.tar.gz
nixos-e8b9708d9591cbb8235b59f9d68154c2f3e3e266.tar.bz2
nixos-e8b9708d9591cbb8235b59f9d68154c2f3e3e266.tar.xz
nixos-e8b9708d9591cbb8235b59f9d68154c2f3e3e266.zip
ymir: ...
-rw-r--r--ymir.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/ymir.nix b/ymir.nix
index f79f7186..ea9cf48a 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -627,16 +627,6 @@ in rec {
627 ]; 627 ];
628 }; 628 };
629 629
630 systemd.timers."mlmmj-maintd" = {
631 description = "run mlmmj maintenance daemon";
632 wantedBy = [ "multi-user.target" ];
633
634 timerConfig = {
635 OnActiveSec = "10m";
636 OnUnitActiveSec = "10m";
637 };
638 };
639
640 systemd.services."mlmmj-maintd" = { 630 systemd.services."mlmmj-maintd" = {
641 description = "mlmmj maintenance daemon"; 631 description = "mlmmj maintenance daemon";
642 632
@@ -1182,7 +1172,17 @@ in rec {
1182 LogRateLimitIntervalSec = 0; 1172 LogRateLimitIntervalSec = 0;
1183 }; 1173 };
1184 }; 1174 };
1185 systemd.timers = listToAttrs (map (t: nameValuePair "borgbackup@${t}" { 1175 systemd.timers = {
1176 "mlmmj-maintd" = {
1177 description = "run mlmmj maintenance daemon";
1178 wantedBy = [ "multi-user.target" ];
1179
1180 timerConfig = {
1181 OnActiveSec = "10m";
1182 OnUnitActiveSec = "10m";
1183 };
1184 };
1185 } // listToAttrs (map (t: nameValuePair "borgbackup@${t}" {
1186 requiredBy = ["multi-user.target"]; 1186 requiredBy = ["multi-user.target"];
1187 1187
1188 timerConfig = { 1188 timerConfig = {