about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2023-01-10 19:06:51 +0100
committerJan Tojnar <jtojnar@gmail.com>2023-08-12 10:29:34 +0200
commit622745942bc7b7cc056bfbb0bc6004dd823fa4f5 (patch)
tree40ebd5da0dd075cf1b71150e51303c8368f7f10f
parent5522989d34c2d689b79716964cb1b343b87f2bfe (diff)
downloadnixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar.gz
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar.bz2
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar.lz
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar.xz
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.tar.zst
nixlib-622745942bc7b7cc056bfbb0bc6004dd823fa4f5.zip
nixos/gnome: Do not force Qt apps to Adwaita
adwaita-qt tries valiantly to ensure a visual consistency
but unfortunately, it often falls into an uncanny valley instead.
Let’s make it opt-in again for more vanilla default experience.

Related: https://pagure.io/fedora-workstation/issue/351
-rw-r--r--nixos/doc/manual/release-notes/rl-2311.section.md10
-rw-r--r--nixos/modules/services/x11/desktop-managers/gnome.nix7
2 files changed, 10 insertions, 7 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md
index d87d3b5c92f0..2f286d13f2b6 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -140,6 +140,16 @@
 
 - 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.
 
+- 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:
+
+  ```nix
+  qt = {
+    enable = true;
+    platformTheme = "gnome";
+    style = "adwaita";
+  };
+  ```
+
 - `fontconfig` now defaults to using greyscale antialiasing instead of subpixel antialiasing because of a [recommendation from one of the downstreams](https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/337). You can change this value by configuring [](#opt-fonts.fontconfig.subpixel.rgba) accordingly.
 
 - The latest available version of Nextcloud is v27 (available as `pkgs.nextcloud27`). The installation logic is as follows:
diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix
index 5d950f7d7fc5..fecdd86deb86 100644
--- a/nixos/modules/services/x11/desktop-managers/gnome.nix
+++ b/nixos/modules/services/x11/desktop-managers/gnome.nix
@@ -352,13 +352,6 @@ in
         })
       ];
 
-      # Harmonize Qt application style and also make them use the portal for file chooser dialog.
-      qt = {
-        enable = mkDefault true;
-        platformTheme = mkDefault "gnome";
-        style = mkDefault "adwaita";
-      };
-
       networking.networkmanager.enable = mkDefault true;
 
       services.xserver.updateDbusEnvironment = true;