nixos-config/config/systemd-boot.nix

15 lines
321 B
Nix
Raw Normal View History

2024-11-09 14:02:26 +00:00
{ system, ... }:
let
2024-11-05 08:11:22 +00:00
isx86 = 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;
}