summaryrefslogtreecommitdiff
path: root/custom/lvm-snapshots.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:46:13 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 15:46:13 +0200
commit11c139b5cb84f5f43b5126468a5603ac3651fd04 (patch)
tree4a2aafcdecc35275fc19cb6532e28d5a48109a01 /custom/lvm-snapshots.nix
parent0072c7afc68ac3233616939e2bcff7b0d11e312f (diff)
downloadnixos-11c139b5cb84f5f43b5126468a5603ac3651fd04.tar
nixos-11c139b5cb84f5f43b5126468a5603ac3651fd04.tar.gz
nixos-11c139b5cb84f5f43b5126468a5603ac3651fd04.tar.bz2
nixos-11c139b5cb84f5f43b5126468a5603ac3651fd04.tar.xz
nixos-11c139b5cb84f5f43b5126468a5603ac3651fd04.zip
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 74b11e3a..a144f06a 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -73,7 +73,7 @@ in {
73 unitConfig = { 73 unitConfig = {
74 StopWhenUnneeded = !scfg.persist; 74 StopWhenUnneeded = !scfg.persist;
75 AssertPathIsDirectory = "/var/lock"; 75 AssertPathIsDirectory = "/var/lock";
76 RequiredBy = "${escapeSystemdPath "/dev/${scfg.VG}/${scfg.LV}"}.device"; 76 RequiredBy = "${escapeSystemdPath "/dev/${scfg.VG}/${snapshotName name}"}.device";
77 }; 77 };
78 78
79 path = with pkgs; [ devicemapper utillinux ]; 79 path = with pkgs; [ devicemapper utillinux ];