From 6333da56b2ef8ada089698cd94e2c4fce67cc514 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 2 Jul 2025 15:35:21 +0200 Subject: [PATCH] sway: do not set wayland session env variables --- services/desktop/sway.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/services/desktop/sway.nix b/services/desktop/sway.nix index eb499be..4864011 100644 --- a/services/desktop/sway.nix +++ b/services/desktop/sway.nix @@ -34,16 +34,6 @@ mkIf (elem "desktop::sway" config.machine.services) { gtk = true; }; extraSessionCommands = '' - export GDK_BACKEND=wayland - export CLUTTER_BACKEND=wayland - export SDL_VIDEODRIVER=wayland - # needs qt5.qtwayland in systemPackages - export QT_QPA_PLATFORM=wayland-egl - export QT_WAYLAND_FORCE_DPI=physical - export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" - # Fix for some Java AWT applications (e.g. Android Studio), - # use this if they aren't displayed properly: - export _JAVA_AWT_WM_NONREPARENTING=1 # Chromium (based) applications export NIXOS_OZONE_WL=1 '';