summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:32:59 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:32:59 +0200
commitd72b85f52945bc057a3d598f51eddb55837fd465 (patch)
treef424a1ddb6ad5d8ab8e4c684b04d9f149f0b2a5d
parent9bee59682e4e302fd3cafed0fcd54051d114b57d (diff)
downloadnixos-d72b85f52945bc057a3d598f51eddb55837fd465.tar
nixos-d72b85f52945bc057a3d598f51eddb55837fd465.tar.gz
nixos-d72b85f52945bc057a3d598f51eddb55837fd465.tar.bz2
nixos-d72b85f52945bc057a3d598f51eddb55837fd465.tar.xz
nixos-d72b85f52945bc057a3d598f51eddb55837fd465.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 e1e6fa41..74b33570 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -85,8 +85,8 @@ in {
85 StopWhenUnneeded = !scfg.persist; 85 StopWhenUnneeded = !scfg.persist;
86 }; 86 };
87 87
88 bindsTo = [ ("lvm-snapshot@" + name) ]; 88 bindsTo = [ ("lvm-snapshot@" + name + ".service") ];
89 after = [ ("lvm-snapshot@" + name) ]; 89 after = [ ("lvm-snapshot@" + name + ".service") ];
90 90
91 options = mkIf scfg.readOnly "ro"; 91 options = mkIf scfg.readOnly "ro";
92 92