From d93eb38fdd4819c41d8882fcc9c78ed623ba5727 Mon Sep 17 00:00:00 2001 From: Quinn Unger Date: Fri, 21 Aug 2026 23:09:38 +0100 Subject: [PATCH] fixup gpu configuration --- hosts/tsumugi/hardware-configuration.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/hosts/tsumugi/hardware-configuration.nix b/hosts/tsumugi/hardware-configuration.nix index 5a26e6f..4f74ba7 100644 --- a/hosts/tsumugi/hardware-configuration.nix +++ b/hosts/tsumugi/hardware-configuration.nix @@ -76,14 +76,20 @@ ]; # Intel ARC GPU - hardware.graphics.extraPackages = with pkgs; [ - vpl-gpu-rt - intel-media-driver - intel-compute-runtime - ]; + services.xserver.videoDrivers = [ "modesetting" ]; + hardware.graphics = { + enable = true; + extraPackages = with pkgs; [ + intel-compute-runtime + intel-media-driver + vpl-gpu-rt + ]; + }; + environment.sessionVariables.LIBVA_DRIVER_NAME = "iHD"; environment.systemPackages = with pkgs; [ intel-gpu-tools ]; + boot.kernelParams = [ "i915.enable_guc=3" ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's -- 2.54.0