summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {