nixos-config/machine/pc-installer/grub.nix
Charlotte 🦝 Delenk a7ebb16cb7
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23665 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23663 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23664 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #23662 of nixos-config:pr618:checks.x86_64-linux.containers-default
add wip pc installer/livecd
2024-11-05 09:11:22 +01:00

16 lines
383 B
Nix

{
config,
lib,
...
}: {
# For legacy pc reason, this needs to be grub
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.grub = {
enable = true;
devices = [config.disko.devices.disk.main.device];
efiInstallAsRemovable = true;
efiSupport = true;
memtest86.enable = true;
};
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
}