summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:43:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:43:11 +0200
commit7aa1480b838bf4952b361fd88f60a5a45b106363 (patch)
treee0e0b0c7e66e9ba10129f1419a92e3ea3d9fe5c6 /custom
parent9391838f37ce6f8f3d85b81978c735e05bf488a3 (diff)
downloadnixos-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.nix1
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 ];