use radeon/intel vulkan icd on 32 bit

This commit is contained in:
Charlotte 🦝 Delenk 2023-03-29 07:26:26 +01:00
parent 2ca0096f98
commit 3a36045f5d
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -2,6 +2,7 @@
config,
pkgs,
lib,
system,
...
}: let
c = "$";
@ -141,7 +142,9 @@ in {
export MOZ_ENABLE_WAYLAND=1
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORMTHEME=qt5ct
'';
'' + (if system == "x86_64-linux" then ''
export VK_ICD_FILENAMES=/run/opengl-driver/share/vulkan/icd.d/intel_icd.x86_64.json:/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json:/run/opengl-driver-32/share/vulkan/icd.d/radeon_icd.i686.json:/run/opengl-driver-32/share/vulkan/icd.d/intel_icd.i686.json
'' else "");
extraConfig = ''
default_border none
gaps outer 8