summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 16:10:03 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 16:10:03 +0200
commit057c72e9f835964034be6aeb1a0e09c00431b72d (patch)
tree95a2a79282581c7b12101b86682b871a4048f33b /custom
parentd23952dc1aef105e8a1a1e31d42499bd2f17953a (diff)
downloadnixos-057c72e9f835964034be6aeb1a0e09c00431b72d.tar
nixos-057c72e9f835964034be6aeb1a0e09c00431b72d.tar.gz
nixos-057c72e9f835964034be6aeb1a0e09c00431b72d.tar.bz2
nixos-057c72e9f835964034be6aeb1a0e09c00431b72d.tar.xz
nixos-057c72e9f835964034be6aeb1a0e09c00431b72d.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 440ecafd..d68f635d 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -118,7 +118,7 @@ in {
118 systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let 118 systemd.services = (mapAttrs' (target: tCfg: nameValuePair "borgbackup-${target}@" (let
119 deps = flatten [ 119 deps = flatten [
120 (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service") 120 (optional (cfg.snapshots == "btrfs") "btrfs-snapshot@%i.service")
121 (optional (cfg.snapshots == "lvm") "${escapeSystemdPath mountPoint}-${withPrefix "%i"}.mount") 121 (optional (cfg.snapshots == "lvm") "${escapeSystemdPath "${mountPoint}/${withPrefix "%i"}"}.mount")
122 (optional tCfg.network "network-online.target") 122 (optional tCfg.network "network-online.target")
123 ]; 123 ];
124 in { 124 in {