Use systemd-boot instead of GRUB

Enable systemd-boot and allow touching EFI variables.
Move i915.enable_guc=3 into boot.kernelParams and remove duplicate
entry.
This commit is contained in:
Stefan Kempinger 2026-04-16 19:45:37 +02:00
parent a736fb7fbf
commit 5d6a7ad2b4
Signed by: CrazyChaoz
SSH key fingerprint: SHA256:YOwyLUwjYN0SbH23u/6sadxTPxiCq8DRCW69qpWhjA8

View file

@ -4,9 +4,14 @@
./hardware-configuration.nix
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
kernelParams = [
"i915.enable_guc=3"
];
};
services.xserver.videoDrivers = [ "modesetting" ];
@ -25,7 +30,6 @@
};
hardware.enableRedistributableFirmware = true;
boot.kernelParams = [ "i915.enable_guc=3" ];
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";