pantheon.elementary-session-settings: Drop x11 session

The fallback-session option is not used in wayland session, and also
ignored in gnome-session 49.

+4 -4
+1 -1
nixos/doc/manual/release-notes/rl-2511.section.md
··· 252 252 253 253 - mate-wayland-session 1.28.4 is now using the default wayfire decorator instead of firedecor, thus `services.xserver.desktopManager.mate.enableWaylandSession` is no longer shipping firedecor. If you are experiencing broken window decorations after upgrade, backup and remove `~/.config/mate/wayfire.ini` and re-login. 254 254 255 - - Due to [deprecation of gnome-session X11 support](https://blogs.gnome.org/alatiera/2025/06/08/the-x11-session-removal/), `services.desktopManager.pantheon` now defaults to pantheon-wayland session. The X11 session will be removed before gnome-session 49 lands. 255 + - Due to [deprecation of gnome-session X11 support](https://blogs.gnome.org/alatiera/2025/06/08/the-x11-session-removal/), `services.desktopManager.pantheon` now defaults to pantheon-wayland session. The X11 session has been removed, see [this issue](https://github.com/elementary/session-settings/issues/91) for details. 256 256 257 257 - `services.gitea` supports sending notifications with sendmail again. To do this, activate the parameter `services.gitea.mailerUseSendmail` and configure SMTP server. 258 258
+3 -3
pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
··· 58 58 59 59 mesonFlags = [ 60 60 "-Dmimeapps-list=false" 61 - "-Dfallback-session=GNOME" 62 61 "-Ddetect-program-prefixes=true" 62 + # https://github.com/elementary/session-settings/issues/91 63 + "-Dx11=false" 63 64 "--sysconfdir=${placeholder "out"}/etc" 64 65 ]; 65 66 ··· 70 71 cp -av ${./pantheon-mimeapps.list} $out/share/applications/pantheon-mimeapps.list 71 72 72 73 # absolute path patched sessions 73 - substituteInPlace $out/share/{xsessions/pantheon.desktop,wayland-sessions/pantheon-wayland.desktop} \ 74 + substituteInPlace $out/share/wayland-sessions/pantheon-wayland.desktop \ 74 75 --replace-fail "Exec=gnome-session" "Exec=${gnome-session}/bin/gnome-session" \ 75 76 --replace-fail "TryExec=io.elementary.wingpanel" "TryExec=${wingpanel}/bin/io.elementary.wingpanel" 76 77 ''; ··· 79 80 updateScript = nix-update-script { }; 80 81 81 82 providedSessions = [ 82 - "pantheon" 83 83 "pantheon-wayland" 84 84 ]; 85 85 };