diff options
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r-- | custom/lvm-snapshots.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 7d6cb8f2..2d047599 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
@@ -109,6 +109,7 @@ in { | |||
109 | bindsTo = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; | 109 | bindsTo = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; |
110 | after = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; | 110 | after = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; |
111 | 111 | ||
112 | options = [ "noauto" ]; | ||
112 | options = mkIf scfg.readOnly "ro"; | 113 | options = mkIf scfg.readOnly "ro"; |
113 | 114 | ||
114 | where = snapshotMount name; | 115 | where = snapshotMount name; |