From 5d6a7ad2b4a7105fdfe5a2f2ea0224f880058a52 Mon Sep 17 00:00:00 2001 From: Stefan Kempinger Date: Thu, 16 Apr 2026 19:45:37 +0200 Subject: [PATCH] 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. --- lnf/configuration.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lnf/configuration.nix b/lnf/configuration.nix index fdf8416..9cb4868 100644 --- a/lnf/configuration.nix +++ b/lnf/configuration.nix @@ -4,10 +4,15 @@ ./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" ]; hardware.graphics = { @@ -25,7 +30,6 @@ }; hardware.enableRedistributableFirmware = true; - boot.kernelParams = [ "i915.enable_guc=3" ]; environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD";