diff --git a/modules/home/niri/config.kdl b/modules/home/niri/config.kdl index 1dd1845..6b12319 100644 --- a/modules/home/niri/config.kdl +++ b/modules/home/niri/config.kdl @@ -6,6 +6,7 @@ environment { QT_QPA_PLATFORM "wayland" NIXOS_OZONE_WL "1" + SDL_VIDEODRIVER "wayland" JAVA_TOOL_OPTIONS "-Dsun.java2d.uiScale=2 -Dsun.awt.xembedserver=true" _JAVA_AWT_WM_NONREPARENTING "1" // xwayland-satellite blank screens } diff --git a/modules/home/niri/default.nix b/modules/home/niri/default.nix index 997b37f..d0fa813 100644 --- a/modules/home/niri/default.nix +++ b/modules/home/niri/default.nix @@ -16,7 +16,6 @@ xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gnome ]; - home.sessionVariables.SDL_VIDEODRIVER = "wayland"; home.packages = with pkgs; [ xwayland-satellite nautilus