nixos/tests/installer.nix: nixos-generate-config detects LUKS since a7baec7

Fixes nix-build '<nixos/release.nix>' -A tests.installer.luksroot.x86_64-linux
This commit is contained in:
obadz 2016-05-26 04:00:58 +01:00
parent c6b3aca4e2
commit e78a99c35b

View file

@ -360,13 +360,8 @@ in {
"mount LABEL=boot /mnt/boot",
);
'';
# XXX: Currently, generate-config doesn't detect LUKS yet.
extraConfig = ''
boot.kernelParams = lib.mkAfter [ "console=tty0" ];
boot.initrd.luks.devices.cryptroot = {
device = "/dev/vda3";
preLVM = true;
};
'';
enableOCR = true;
preBootCommands = ''