diff options
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/lvm-snapshots.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 0e815f55..e8eeb637 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
| @@ -109,7 +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" ] ++ optional scfg.readOnly "ro"; | 112 | options = concatStringsSep "," ([ "noauto" ] ++ optional scfg.readOnly "ro"); |
| 113 | 113 | ||
| 114 | where = snapshotMount name; | 114 | where = snapshotMount name; |
| 115 | what = "/dev/" + scfg.VG + "/" + snapshotName name; | 115 | what = "/dev/" + scfg.VG + "/" + snapshotName name; |
