diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-24 18:50:52 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-24 18:50:52 +0100 |
commit | 2d915b4b8d74664645d1bb063100390938111b09 (patch) | |
tree | c3e3375a8d480b583e82ef1258305432c320fbcd /custom | |
parent | 0d8c62f7b347966ca545dd77528a31780b94f792 (diff) | |
download | nixos-2d915b4b8d74664645d1bb063100390938111b09.tar nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.gz nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.bz2 nixos-2d915b4b8d74664645d1bb063100390938111b09.tar.xz nixos-2d915b4b8d74664645d1bb063100390938111b09.zip |
...
Diffstat (limited to 'custom')
-rw-r--r-- | custom/borgbackup.nix | 2 |
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 | ||