diff --git a/modules/workstation/home-manager/desktop/sway/default.nix b/modules/workstation/home-manager/desktop/sway/default.nix index 7b8ade5..39fa29c 100644 --- a/modules/workstation/home-manager/desktop/sway/default.nix +++ b/modules/workstation/home-manager/desktop/sway/default.nix @@ -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; };