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";