From bb0f46c0506f08b12414318a05658a880034bb27 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:31:23 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/borgbackup.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 70647334..82d05c89 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -67,9 +67,7 @@ in { OnBootSec = tCfg.interval; OnUnitInactiveSec = tCfg.interval; }; - }) (flatten (mapAttrsToList (target: tCfg: map (path: { inherit target path tCfg; }) tCfg.paths) cfg.targets))); - - systemd.timers = mapAttrs (target: tCfg: nameValuePair "borgbackup-prune-${target}" { + }) (flatten (mapAttrsToList (target: tCfg: map (path: { inherit target path tCfg; }) tCfg.paths) cfg.targets))) // mapAttrs (target: tCfg: nameValuePair "borgbackup-prune-${target}" { wantedBy = [ "timers.target" ]; timerConfig = { -- cgit v1.2.3