From 54c8459fa17e804a6c3d137a3883ddfb407fecc3 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 20 Dec 2024 22:45:09 -0500 Subject: [PATCH] Switch to vulkan renderer for sway. --- nix/configuration/roles/sway/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/configuration/roles/sway/default.nix b/nix/configuration/roles/sway/default.nix index 32b070a..e0fede8 100644 --- a/nix/configuration/roles/sway/default.nix +++ b/nix/configuration/roles/sway/default.nix @@ -220,7 +220,8 @@ in ]; environment.sessionVariables = { - WLR_RENDERER_ALLOW_SOFTWARE = "1"; + # WLR_RENDERER_ALLOW_SOFTWARE = "1"; + WLR_RENDERER = "vulkan"; }; programs.sway = { @@ -230,7 +231,7 @@ in "--debug" "--config" "${sway-config}" - "--unsupported-gpu" + # "--unsupported-gpu" ]; };