diff options
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 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 ]; |