This commit is contained in:
Peder Bergebakken Sundt 2024-10-23 00:24:27 +02:00
parent 3b6d97e88e
commit 1a840b77f5
1 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,11 @@
hardware.opengl.extraPackages = with pkgs; [ hardware.opengl.extraPackages = with pkgs; [
mesa.drivers mesa.drivers
intel-media-driver intel-media-driver
(if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then vaapiIntel else intel-vaapi-driver) # not added due to collision
# https://github.com/NixOS/nixos-hardware/issues/1170
#(if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11")
# then vaapiIntel
# else intel-vaapi-driver)
vaapiVdpau vaapiVdpau
libvdpau-va-gl libvdpau-va-gl
intel-ocl intel-ocl