nixos/pantheon: Drop qgnomeplatform

The upstream is not maintained, and qadwaitadecoration
does not seem to be xorg-related. We should have proper
shadows when using SSD.

+5 -6
+1 -1
nixos/doc/manual/release-notes/rl-2311.section.md
··· 140 140 141 141 - The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration. 142 142 143 - - GNOME module no longer forces Qt applications to use Adwaita style since it was buggy and is no longer maintained upstream. If you still want it, you can add the following options to your configuration but it will probably be eventually removed: 143 + - GNOME, Pantheon module no longer forces Qt applications to use Adwaita style since it was buggy and is no longer maintained upstream. If you still want it, you can add the following options to your configuration but it will probably be eventually removed: 144 144 145 145 ```nix 146 146 qt = {
+4 -5
nixos/modules/services/x11/desktop-managers/pantheon.nix
··· 200 200 gtk3.out # for gtk-launch program 201 201 onboard 202 202 orca # elementary/greeter#668 203 - qgnomeplatform 204 203 sound-theme-freedesktop 205 204 xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/ 206 205 ]) ++ (with pkgs.pantheon; [ ··· 260 259 programs.bash.vteIntegration = mkDefault true; 261 260 programs.zsh.vteIntegration = mkDefault true; 262 261 263 - # Harmonize Qt applications under Pantheon 264 - qt.enable = true; 265 - qt.platformTheme = "gnome"; 266 - qt.style = "adwaita"; 262 + # Use native GTK file chooser on Qt apps. This is because Qt does not know Pantheon. 263 + # https://invent.kde.org/qt/qt/qtbase/-/blob/6.6/src/gui/platform/unix/qgenericunixthemes.cpp#L1312 264 + # https://github.com/elementary/default-settings/blob/7.0.2/profile.d/qt-qpa-platformtheme.sh 265 + environment.variables.QT_QPA_PLATFORMTHEME = mkDefault "gtk3"; 267 266 268 267 # Default Fonts 269 268 fonts.packages = with pkgs; [