summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:50:52 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-24 18:50:52 +0100
commit2d915b4b8d74664645d1bb063100390938111b09 (patch)
treec3e3375a8d480b583e82ef1258305432c320fbcd
parent0d8c62f7b347966ca545dd77528a31780b94f792 (diff)
downloadnixos-2d915b4b8d74664645d1bb063100390938111b09.tar
nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.gz
nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.bz2
nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.xz
nixos-2d915b4b8d74664645d1bb063100390938111b09.zip
...
-rw-r--r--custom/borgbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix
index 0db4b5da..73023999 100644
--- a/custom/borgbackup.nix
+++ b/custom/borgbackup.nix
@@ -21,7 +21,7 @@ let
21 21
22 systemdPath = path: escapeSystemdPath (if cfg.snapshots == "lvm" then "${path.VG}-${path.LV}" else path); 22 systemdPath = path: escapeSystemdPath (if cfg.snapshots == "lvm" then "${path.VG}-${path.LV}" else path);
23 23
24 withSuffix = path: path + if cfg.snapshots == "btrfs" then config.services.btrfs-snapshots.mountSuffix else config.services.lvm-snapshots.mountSuffix; 24 withSuffix = path: path + (if cfg.snapshots == "btrfs" then config.services.btrfs-snapshots.mountSuffix else config.services.lvm-snapshots.mountSuffix);
25 25
26 mountPoint = if cfg.snapshots == "lvm" then config.services.lvm-snapshots.mountPoint else config.services.btrfs-snapshots.mountPoint; 26 mountPoint = if cfg.snapshots == "lvm" then config.services.lvm-snapshots.mountPoint else config.services.btrfs-snapshots.mountPoint;
27 27