2024-11-20 09:03:08 +00:00
|
|
|
{ pkgs, ... }:
|
2024-11-09 14:02:26 +00:00
|
|
|
let
|
2024-11-20 09:03:08 +00:00
|
|
|
isx86 = pkgs.targetPlatform.system == "x86_64-linux";
|
2024-11-09 14:02:26 +00:00
|
|
|
in
|
|
|
|
{
|
2024-11-05 08:11:22 +00:00
|
|
|
boot.loader.systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
memtest86.enable = isx86;
|
|
|
|
netbootxyz.enable = isx86;
|
|
|
|
edk2-uefi-shell.enable = isx86;
|
|
|
|
};
|
2024-10-29 12:29:05 +00:00
|
|
|
boot.loader.generic-extlinux-compatible.enable = false;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
}
|