From e8b9708d9591cbb8235b59f9d68154c2f3e3e266 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Feb 2022 18:46:47 +0100 Subject: ymir: ... --- ymir.nix | 22 +++++++++++----------- 1 file 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 { ]; }; - systemd.timers."mlmmj-maintd" = { - description = "run mlmmj maintenance daemon"; - wantedBy = [ "multi-user.target" ]; - - timerConfig = { - OnActiveSec = "10m"; - OnUnitActiveSec = "10m"; - }; - }; - systemd.services."mlmmj-maintd" = { description = "mlmmj maintenance daemon"; @@ -1182,7 +1172,17 @@ in rec { LogRateLimitIntervalSec = 0; }; }; - systemd.timers = listToAttrs (map (t: nameValuePair "borgbackup@${t}" { + systemd.timers = { + "mlmmj-maintd" = { + description = "run mlmmj maintenance daemon"; + wantedBy = [ "multi-user.target" ]; + + timerConfig = { + OnActiveSec = "10m"; + OnUnitActiveSec = "10m"; + }; + }; + } // listToAttrs (map (t: nameValuePair "borgbackup@${t}" { requiredBy = ["multi-user.target"]; timerConfig = { -- cgit v1.2.3