i686 support

This commit is contained in:
Sense T 2023-07-20 10:52:10 +00:00
parent 0e5ec609c5
commit 9075030f94

View File

@ -6,6 +6,12 @@ let
else else
pkgs.intel-vaapi-driver 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 in
{ {
sound.enable = true; sound.enable = true;
@ -17,13 +23,20 @@ in
hardware = { hardware = {
opengl = { opengl = {
enable = true; enable = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
mesa.drivers mesa.drivers
libvdpau-va-gl libvdpau-va-gl
vaapiVdpau vaapiVdpau
intel-driver intel-driver
]; ];
driSupport32Bit = true;
extraPackages32 = with pkgs.driversi686Linux; [
intel-driver32
mesa.drivers
libvdpau-va-gl
vaapiVdpau
];
}; };
}; };