summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:41:05 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 14:41:05 +0100
commit5ed93877497433aa9ffe078ec6d8aaea4e80ad87 (patch)
treee5ce9741ca7045ef0b62506204bc24a9a9e88088 /custom
parent1b6221d30597f796377530939093d0f4af625a29 (diff)
downloadnixos-5ed93877497433aa9ffe078ec6d8aaea4e80ad87.tar
nixos-5ed93877497433aa9ffe078ec6d8aaea4e80ad87.tar.gz
nixos-5ed93877497433aa9ffe078ec6d8aaea4e80ad87.tar.bz2
nixos-5ed93877497433aa9ffe078ec6d8aaea4e80ad87.tar.xz
nixos-5ed93877497433aa9ffe078ec6d8aaea4e80ad87.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
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 {
79 79
80 systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let 80 systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let
81 deps = flatten [ 81 deps = flatten [
82 (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%p.service") 82 (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service")
83 (optional tCfg.network "network-online.target") 83 (optional tCfg.network "network-online.target")
84 ]; 84 ];
85 in { 85 in {