Skip to content

Commit 57a787c

Browse files
committed
Revert Merge #107275: nixos: fix "nixos-rebuild ...
... build-vm-with-bootloader" for EFI systems This reverts commit 2025728, reversing changes made to 926a1b2. It broke nixosTests.installer.simpleUefiSystemdBoot and right now channel is lagging behing for two weeks.
1 parent bcf86f5 commit 57a787c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

nixos/modules/virtualisation/qemu-vm.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,6 @@ in
605605

606606
virtualisation.bootDevice = mkDefault (driveDeviceName 1);
607607

608-
virtualisation.useEFIBoot = mkDefault
609-
(config.boot.loader.systemd-boot.enable ||
610-
config.boot.loader.efi.canTouchEfiVariables);
611-
612608
virtualisation.pathsInNixDB = [ config.system.build.toplevel ];
613609

614610
# FIXME: Consolidate this one day.

nixos/tests/systemd-boot.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ with pkgs.lib;
99
let
1010
common = {
1111
virtualisation.useBootLoader = true;
12+
virtualisation.useEFIBoot = true;
1213
boot.loader.systemd-boot.enable = true;
1314
boot.loader.efi.canTouchEfiVariables = true;
1415
environment.systemPackages = [ pkgs.efibootmgr ];

0 commit comments

Comments
 (0)