From 5b85afc757bea2edc92556b26382240fe5449bac Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 04:11:42 +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/borgbackup.nix') diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 200194a2..54665c84 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -51,7 +51,7 @@ in { }; }; - config = mkIf (any (t: t.paths != []) (attrValues cfg.targets) { + 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}" { -- cgit v1.2.3