From 934b33eef5b74af4610ccbd872b73214236864ff Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Tue, 20 Feb 2024 00:44:57 +0100 Subject: [PATCH] [Desktop/General] Improve Wayland support --- desktop/general.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/desktop/general.nix b/desktop/general.nix index ef8f0bc..bc90d46 100644 --- a/desktop/general.nix +++ b/desktop/general.nix @@ -150,6 +150,13 @@ in { aspellDicts.fr ]; + environment.variables = { + SDL_VIDEODRIVER = "wayland"; + QT_QPA_PLATFORM = "wayland;xcb"; + MOZ_DBUS_REMOTE = "1"; # For shared clipboard with Xwayland apps + _JAVA_AWT_WM_NONREPARENTING = "1"; + }; + aviallon.programs.allowUnfreeList = [ "spotify" "spotify-unwrapped"