From ec595c6f523dacb9d150a3a89d38e82c45dc56b5 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 7 Dec 2025 00:06:22 +0100 Subject: [PATCH] fix: declare graphics config for 'astyanax' host --- hosts/astyanax/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/astyanax/default.nix b/hosts/astyanax/default.nix index b5401ff..74d748f 100644 --- a/hosts/astyanax/default.nix +++ b/hosts/astyanax/default.nix @@ -42,6 +42,23 @@ in }) ]; + hardware = { + cpu.intel.updateMicrocode = true; + # https://wiki.nixos.org/wiki/Intel_Graphics + graphics = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver + vpl-gpu-rt + ]; + }; + }; + + # https://wiki.nixos.org/wiki/Intel_Graphics + environment.sessionVariables = { + LIBVA_DRIVER_NAME = "iHD"; + }; + secrets.username = username; environment.systemPackages = [