feat(graphics): generalize to graphics module
check / lint (push) Successful in 15s

This commit is contained in:
2026-10-09 21:54:33 +02:00
parent 7f497792de
commit a3905e5b3d
7 changed files with 148 additions and 113 deletions
+8 -17
View File
@@ -33,6 +33,13 @@ in
bootloader.enable = true;
desktop.niri.enable = true;
git.enable = true;
graphics = {
enable = true;
intel = {
enable = true;
model = "arc-140t";
};
};
keyboard.enable = true;
localization.enable = true;
my = {
@@ -67,23 +74,7 @@ in
docker.enable = true;
nfc.enable = true;
hardware = {
cpu.intel.updateMicrocode = true;
# https://wiki.nixos.org/wiki/Intel_Graphics
graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
vpl-gpu-rt
intel-compute-runtime
];
};
};
# https://wiki.nixos.org/wiki/Intel_Graphics
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
};
hardware.cpu.intel.updateMicrocode = true;
environment.systemPackages = [
(pkgs.writeShellApplication {