From 9f490eedc8337ee3449bf92440111ffdc3d9306c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 04:18:55 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 6caf799e..6b0d97dc 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -54,7 +54,7 @@ in { config = mkIf (any (t: t.paths != []) (attrValues cfg.targets)) { services.btrfs-snapshots.enable = mkIf (cfg.snapshots == "btrfs") true; - systemd.timers = listToAttrs (map (target: path: nameValuePair "borgbackup-${target}@${path}" { + systemd.timers = listToAttrs (map ({ target, path }: nameValuePair "borgbackup-${target}@${path}" { wantedBy = [ "timers.target" ]; timerConfig = { -- cgit v1.2.3