From 23b1cbac3b1e8a49264954622363af49d50fc53e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 16:15:24 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/lvm-snapshots.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') 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 { bindsTo = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; after = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; - options = [ "noauto" ] ++ optional scfg.readOnly "ro"; + options = concatStringsSep "," ([ "noauto" ] ++ optional scfg.readOnly "ro"); where = snapshotMount name; what = "/dev/" + scfg.VG + "/" + snapshotName name; -- cgit v1.2.3