From 2682530302aabda324928b7fc705d7f59a501d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 15 Mar 2023 20:59:55 +0100 Subject: [PATCH] lvm_vg: allow putting unmounted disks into lvm --- types/lvm_vg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/lvm_vg.nix b/types/lvm_vg.nix index ac7c2fa..70845ff 100644 --- a/types/lvm_vg.nix +++ b/types/lvm_vg.nix @@ -44,7 +44,7 @@ vgchange -a y ${lib.concatMapStrings (x: x.dev or "") (lib.attrValues lvMounts)} ''; - fs = lvMounts.fs; + fs = lvMounts.fs or { }; }; }; _config = lib.mkOption {