···109109 gappsWrapperArgs+=(
110110 # Add gio to PATH so that moving files to the trash works when not using a desktop environment
111111 --prefix PATH : ${glib.bin}/bin
112112- --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
112112+ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
113113 --add-flags ${lib.escapeShellArg commandLineArgs}
114114 )
115115 '';