nixos-config/machine/pc-installer/grub.nix
Charlotte 🦝 Delenk b566c856af
Some checks failed
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24271 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24270 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24272 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.thinkrac Hydra build #24277 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.rainbow-resort Hydra build #24276 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.pc-installer Hydra build #24275 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #24269 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522 Hydra build #24273 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #24274 of nixos-config:pr618:nixosConfigurations.not522-installer
remove superfluous grub device setting
2024-11-08 10:06:30 +01:00

15 lines
328 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;
efiInstallAsRemovable = true;
efiSupport = true;
memtest86.enable = true;
};
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
}