From 5ed93877497433aa9ffe078ec6d8aaea4e80ad87 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:41:05 +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 95b3ce24..7f2b0916 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -79,7 +79,7 @@ in { systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let deps = flatten [ - (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%p.service") + (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service") (optional tCfg.network "network-online.target") ]; in { -- cgit v1.2.3