diff --git a/global/system-configuration.nix b/global/system-configuration.nix index c2c116f..f70660f 100644 --- a/global/system-configuration.nix +++ b/global/system-configuration.nix @@ -6,6 +6,12 @@ let else pkgs.intel-vaapi-driver ); + intel-driver32 = ( + if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then + pkgs.driversi686Linux.vaapiIntel + else + pkgs.driversi686Linux.intel-vaapi-driver + ); in { sound.enable = true; @@ -17,13 +23,20 @@ in hardware = { opengl = { enable = true; - driSupport32Bit = true; extraPackages = with pkgs; [ mesa.drivers libvdpau-va-gl vaapiVdpau intel-driver ]; + + driSupport32Bit = true; + extraPackages32 = with pkgs.driversi686Linux; [ + intel-driver32 + mesa.drivers + libvdpau-va-gl + vaapiVdpau + ]; }; };