+21
-12
nixos/lib/make-disk-image.nix
+21
-12
nixos/lib/make-disk-image.nix
···-# In this throwaway resource, we only have /dev/vda, but the actual VM may refer to another disk for bootloader, e.g. /dev/vdb+# In this throwaway resource, we only have /dev/vda, but the actual VM may refer to another disk for bootloader, e.g. /dev/vdb+lib.optionalString (limine.enable && limine.biosSupport && limine.biosDevice != "/dev/vda") ''
+3
nixos/modules/virtualisation/qemu-vm.nix
+3
nixos/modules/virtualisation/qemu-vm.nix
···# In UEFI boot, we use a EFI-only partition table layout, thus GRUB will fail when trying to install# legacy and UEFI. In order to avoid this, we have to put "nodev" to force UEFI-only installs.
+28
nixos/tests/limine/bios.nix
+28
nixos/tests/limine/bios.nix
···