summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {