diff options
| -rw-r--r-- | custom/lvm-snapshots.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 7148934f..b58631c8 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
| @@ -98,8 +98,8 @@ in { | |||
| 98 | StopWhenUnneeded = !scfg.persist; | 98 | StopWhenUnneeded = !scfg.persist; |
| 99 | }; | 99 | }; |
| 100 | 100 | ||
| 101 | bindsTo = [ ("lvm-snapshot@" + snapshotName name + ".service") ]; | 101 | bindsTo = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; |
| 102 | after = [ ("lvm-snapshot@" + snapshotName name + ".service") ]; | 102 | after = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; |
| 103 | 103 | ||
| 104 | options = mkIf scfg.readOnly "ro"; | 104 | options = mkIf scfg.readOnly "ro"; |
| 105 | 105 | ||
