diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 14:50:29 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 14:50:29 +0200 |
commit | 785f142fdc12c81aad25f393ae0cc8436d41f65c (patch) | |
tree | 0271b3a77df02d2ddd62b1217bbfb468e7e0f5d9 /custom | |
parent | 5da7789c6b5dbc4e6b67ebf38ca76c38166703cd (diff) | |
download | nixos-785f142fdc12c81aad25f393ae0cc8436d41f65c.tar nixos-785f142fdc12c81aad25f393ae0cc8436d41f65c.tar.gz nixos-785f142fdc12c81aad25f393ae0cc8436d41f65c.tar.bz2 nixos-785f142fdc12c81aad25f393ae0cc8436d41f65c.tar.xz nixos-785f142fdc12c81aad25f393ae0cc8436d41f65c.zip |
…
Diffstat (limited to 'custom')
-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 ]; |