summaryrefslogtreecommitdiff
path: root/custom/lvm-snapshots.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-17 12:34:43 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-17 12:34:43 +0100
commit3c5194fe2c4996e153152c5ccce775b454c79204 (patch)
tree3ef3fd149d99b4b223ad9cbccc96917d43686d9d /custom/lvm-snapshots.nix
parent642ecd9bc007738aed77729e439ea8dd6f12e0df (diff)
downloadnixos-3c5194fe2c4996e153152c5ccce775b454c79204.tar
nixos-3c5194fe2c4996e153152c5ccce775b454c79204.tar.gz
nixos-3c5194fe2c4996e153152c5ccce775b454c79204.tar.bz2
nixos-3c5194fe2c4996e153152c5ccce775b454c79204.tar.xz
nixos-3c5194fe2c4996e153152c5ccce775b454c79204.zip
lvm snapshot fails on existing directory
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r--custom/lvm-snapshots.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix
index 5525f822..228b2ed7 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -108,7 +108,7 @@ in {
108 enable = true; 108 enable = true;
109 109
110 unitConfig = { 110 unitConfig = {
111 AssertPathIsDirectory = snapshotMount name; 111 # AssertPathIsDirectory = snapshotMount name;
112 StopWhenUnneeded = !scfg.persist; 112 StopWhenUnneeded = !scfg.persist;
113 }; 113 };
114 114