···109 gappsWrapperArgs+=(
110 # Add gio to PATH so that moving files to the trash works when not using a desktop environment
111 --prefix PATH : ${glib.bin}/bin
112- --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
113 --add-flags ${lib.escapeShellArg commandLineArgs}
114 )
115 '';
···109 gappsWrapperArgs+=(
110 # Add gio to PATH so that moving files to the trash works when not using a desktop environment
111 --prefix PATH : ${glib.bin}/bin
112+ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
113 --add-flags ${lib.escapeShellArg commandLineArgs}
114 )
115 '';