diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 14:06:46 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 14:06:46 +0200 |
commit | 5da7789c6b5dbc4e6b67ebf38ca76c38166703cd (patch) | |
tree | d0abe19aa58d4f53b2c620d87bcb6504432600d0 | |
parent | 9f8314dbfb78f978d402c12dae701035dbfc137a (diff) | |
download | nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.gz nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.bz2 nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.xz nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.zip |
…
-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 | ||