From 9075030f94e81adcc442ef3c682f01a5f280681f Mon Sep 17 00:00:00 2001 From: Sense T Date: Thu, 20 Jul 2023 10:52:10 +0000 Subject: [PATCH] i686 support --- global/system-configuration.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 + ]; }; };