From 407888693ec092d2b81598bf5b75c8d2e97de461 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:34:03 +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(-) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 56e5a740..9c353ba4 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -77,7 +77,7 @@ in { }; }) cfg.targets); - systemd.services = (mapAttrs (target: tCfg: nameValuePair "borgbackup-${target}@" (let + systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let deps = flatten [ (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%p.service") (optional tCfg.network "network-online.target") -- cgit v1.2.3