Merge pull request #215 from DarkKirb/enable-radeon-icd-32bit

use radeon/intel vulkan icd on 32 bit
This commit is contained in:
Charlotte 🦝 Delenk 2023-03-31 05:17:26 +01:00 committed by GitHub
commit 69687edd12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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