From 68a2cabc37625a0da1266cd90c693aba6df83e5b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 04:22:16 +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, 2 insertions(+), 2 deletions(-) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index f93c0e9d..28dbba16 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -65,8 +65,8 @@ in { systemd.services = mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let deps = flatten [ - optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service" - optional tCfg.network "network-online.target" + (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service") + (optional tCfg.network "network-online.target") ]; in { bindsTo = deps; -- cgit v1.2.3