diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 16:15:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 16:15:24 +0200 |
commit | 23b1cbac3b1e8a49264954622363af49d50fc53e (patch) | |
tree | 1c93bf76e8f357002b8d5b077a32269ea4d8977e /custom | |
parent | 8b0b0f638fa2c16078fdf46c599651a195a2bd87 (diff) | |
download | nixos-23b1cbac3b1e8a49264954622363af49d50fc53e.tar nixos-23b1cbac3b1e8a49264954622363af49d50fc53e.tar.gz nixos-23b1cbac3b1e8a49264954622363af49d50fc53e.tar.bz2 nixos-23b1cbac3b1e8a49264954622363af49d50fc53e.tar.xz nixos-23b1cbac3b1e8a49264954622363af49d50fc53e.zip |
…
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; |