mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixosTests.limine.bios: init
This patch adds a NixOS test for Limine on BIOS systems. It also fixes some formatting in `nixos/lib/make-disk-image.nix`. Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
95355b4d94
commit
c156a809e3
4 changed files with 53 additions and 12 deletions
|
@ -1159,6 +1159,9 @@ in
|
|||
`useBootLoader` useless. You might want to disable one of those options.
|
||||
'';
|
||||
|
||||
# Install Limine on the bootloader device
|
||||
boot.loader.limine.biosDevice = cfg.bootLoaderDevice;
|
||||
|
||||
# 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.
|
||||
# Otherwise, we set the proper bootloader device for this.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue