From 59a47afe61f07ff23717f6e40cbe4601098b69bc Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sat, 31 Aug 2024 12:27:07 +0200 Subject: [PATCH] home: Run electron applications with Wayland --- home/config/nil/desktop.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/config/nil/desktop.nix b/home/config/nil/desktop.nix index d42c600..90259ff 100644 --- a/home/config/nil/desktop.nix +++ b/home/config/nil/desktop.nix @@ -273,6 +273,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) { }; environment = { + ELECTRON_OZONE_PLATFORM_HINT = "wayland"; NIXOS_OZONE_WL = "1"; SSH_ASKPASS = askpass; SSH_ASKPASS_REQUIRE = "force";