Use zink on Nvidia GPU
This commit is contained in:
parent
c1ed8b8347
commit
2448d00192
1 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,14 @@
|
|||
with lib;
|
||||
let
|
||||
isQwerty = keymap == "us";
|
||||
wlrRendererLine = if isNvidiaGpu then "export WLR_RENDERER=vulkan" else "";
|
||||
wlrRendererLine =
|
||||
if isNvidiaGpu then
|
||||
''
|
||||
export MESA_LOADER_DRIVER_OVERRIDE=zink
|
||||
export NOUVEAU_USE_ZINK=1
|
||||
''
|
||||
else
|
||||
"";
|
||||
monitorModule = types.submodule {
|
||||
options = {
|
||||
name = mkOption { type = types.str; };
|
||||
|
|
Loading…
Reference in a new issue