Use zink on Nvidia GPU
This commit is contained in:
parent
c1ed8b8347
commit
88159d59ed
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
|||
with lib;
|
||||
let
|
||||
isQwerty = keymap == "us";
|
||||
wlrRendererLine = if isNvidiaGpu then "export WLR_RENDERER=vulkan" else "";
|
||||
monitorModule = types.submodule {
|
||||
options = {
|
||||
name = mkOption { type = types.str; };
|
||||
|
@ -298,7 +297,6 @@ in
|
|||
xwayland = true;
|
||||
|
||||
extraSessionCommands = ''
|
||||
${wlrRendererLine}
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
@ -308,6 +306,7 @@ in
|
|||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export SDL_VIDEODRIVER=wayland
|
||||
export NOUVEAU_USE_ZINK=1
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue