lib makeDiskoTest: use systemd-boot if efi is enabled

This commit is contained in:
lassulus 2023-07-20 18:31:17 +02:00
parent 815d018e2f
commit fc98920ef5

View file

@ -100,7 +100,9 @@ let
echo -n 'secretsecret' > /tmp/secret.key
'';
boot.consoleLogLevel = lib.mkForce 100;
boot.loader.systemd-boot.enable = lib.mkDefault efi;
};
installed-system-eval = eval-config {
modules = [ installed-system ];
inherit (pkgs) system;