diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 15:43:11 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 15:43:11 +0200 |
commit | 7aa1480b838bf4952b361fd88f60a5a45b106363 (patch) | |
tree | e0e0b0c7e66e9ba10129f1419a92e3ea3d9fe5c6 /custom | |
parent | 9391838f37ce6f8f3d85b81978c735e05bf488a3 (diff) | |
download | nixos-7aa1480b838bf4952b361fd88f60a5a45b106363.tar nixos-7aa1480b838bf4952b361fd88f60a5a45b106363.tar.gz nixos-7aa1480b838bf4952b361fd88f60a5a45b106363.tar.bz2 nixos-7aa1480b838bf4952b361fd88f60a5a45b106363.tar.xz nixos-7aa1480b838bf4952b361fd88f60a5a45b106363.zip |
…
Diffstat (limited to 'custom')
-rw-r--r-- | custom/lvm-snapshots.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index afa5a9d6..96d435c5 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
@@ -72,6 +72,7 @@ in { | |||
72 | unitConfig = { | 72 | unitConfig = { |
73 | StopWhenUnneeded = !scfg.persist; | 73 | StopWhenUnneeded = !scfg.persist; |
74 | AssertPathIsDirectory = "/var/lock"; | 74 | AssertPathIsDirectory = "/var/lock"; |
75 | RequiredBy = "${escapeSystemdPath "/dev/${scfg.VG}/${scfg.LV}"}.device"; | ||
75 | }; | 76 | }; |
76 | 77 | ||
77 | path = with pkgs; [ devicemapper utillinux ]; | 78 | path = with pkgs; [ devicemapper utillinux ]; |