mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
nixos/systemd-stage-1: Enable LVM installer test
This commit is contained in:
parent
4871a4e0da
commit
da635f35de
|
@ -19,7 +19,7 @@
|
||||||
luksroot
|
luksroot
|
||||||
luksroot-format1
|
luksroot-format1
|
||||||
luksroot-format2
|
luksroot-format2
|
||||||
# lvm
|
lvm
|
||||||
separateBoot
|
separateBoot
|
||||||
separateBootFat
|
separateBootFat
|
||||||
separateBootZfs
|
separateBootZfs
|
||||||
|
|
|
@ -975,6 +975,9 @@ in {
|
||||||
"mount LABEL=nixos /mnt",
|
"mount LABEL=nixos /mnt",
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
extraConfig = optionalString systemdStage1 ''
|
||||||
|
boot.initrd.services.lvm.enable = true;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Boot off an encrypted root partition with the default LUKS header format
|
# Boot off an encrypted root partition with the default LUKS header format
|
||||||
|
|
Loading…
Reference in a new issue