homeserver: added missing intel gpu drivers

This commit is contained in:
Tigor Hutasuhut 2024-07-26 15:53:53 +07:00
parent 9470ffef76
commit 575c8b5425

View file

@ -60,4 +60,13 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
libvdpau-va-gl
];
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; }; # Force intel-media-driver
}