fix: declare graphics config for 'astyanax' host

This commit is contained in:
2025-12-07 00:06:22 +01:00
parent 2326ac1e78
commit ec595c6f52

View File

@@ -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 = [