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
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
];
};
};