summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 14:06:46 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 14:06:46 +0200
commit5da7789c6b5dbc4e6b67ebf38ca76c38166703cd (patch)
treed0abe19aa58d4f53b2c620d87bcb6504432600d0
parent9f8314dbfb78f978d402c12dae701035dbfc137a (diff)
downloadnixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar
nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.gz
nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.bz2
nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.tar.xz
nixos-5da7789c6b5dbc4e6b67ebf38ca76c38166703cd.zip
-rw-r--r--custom/lvm-snapshots.nix4
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