diff options
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r-- | custom/lvm-snapshots.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index b58631c8..c7f6416e 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
@@ -71,7 +71,7 @@ in { | |||
71 | description = "LVM-snapshot of ${scfg.VG}/${scfg.LV}"; | 71 | description = "LVM-snapshot of ${scfg.VG}/${scfg.LV}"; |
72 | 72 | ||
73 | unitConfig = { | 73 | unitConfig = { |
74 | StopWhenUnneeded = true; | 74 | StopWhenUnneeded = !scfg.persist; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | path = with pkgs; [ devicemapper ]; | 77 | path = with pkgs; [ devicemapper ]; |