use radeon/intel vulkan icd on 32 bit
This commit is contained in:
parent
2ca0096f98
commit
3a36045f5d
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
c = "$";
|
c = "$";
|
||||||
|
@ -141,7 +142,9 @@ in {
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
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 = ''
|
extraConfig = ''
|
||||||
default_border none
|
default_border none
|
||||||
gaps outer 8
|
gaps outer 8
|
||||||
|
|
Loading…
Reference in a new issue