diff --git a/flake.lock b/flake.lock index b16b983..79e2636 100644 --- a/flake.lock +++ b/flake.lock @@ -380,11 +380,11 @@ ] }, "locked": { - "lastModified": 1784148691, - "narHash": "sha256-WqyRR30KSk5k9h1bVtAEmkN4gRz0Jj5KG+n0xASb1wc=", + "lastModified": 1784054915, + "narHash": "sha256-vM+E9Yn/wcRV8nBK+GnOx/Hz9wB36tAP67rRaL+1eMI=", "ref": "refs/heads/main", - "rev": "419c9659a328b88e47fc070a031735e0cee6f31b", - "revCount": 2706, + "rev": "bf657177d380286fc34b2f8d78afcabf74c38c61", + "revCount": 2662, "type": "git", "url": "https://forge.darkest.space/hyperhive/hyperhive.git" }, @@ -1089,11 +1089,11 @@ ] }, "locked": { - "lastModified": 1784095038, - "narHash": "sha256-zXZtkiA1HLj8cOWlKM52p/dfo6m4T0LydGKwEAF8urY=", + "lastModified": 1784053149, + "narHash": "sha256-YBQqQ/kVC7nu0p7PM5ArBfWiI3/z9Md/C94O6N5q2Ws=", "owner": "vibec0re", "repo": "trollshell", - "rev": "1016b150b6451ec64ddedf3fcd3c39396953f05d", + "rev": "5a9c70cb5600aeb503386e88c86ed51e243c6e55", "type": "github" }, "original": { diff --git a/homeConfigurations/muede/niri.nix b/homeConfigurations/muede/niri.nix index 9fe1c66..73b97d9 100644 --- a/homeConfigurations/muede/niri.nix +++ b/homeConfigurations/muede/niri.nix @@ -11,18 +11,10 @@ xwayland-satellite ]; - # Qt theming (QT_STYLE_OVERRIDE) is deliberately disabled, here and in - # nixosModules/stylix.nix. Qt >= 6.5 resolves QT_STYLE_OVERRIDE as a - # Qt Quick Controls style and crashes any QML app when no such QML module - # exists: with QT_STYLE_OVERRIDE=adwaita-dark, polkit-kde-agent segfaulted - # on every auth request, breaking polkit under niri. adwaita-qt only ships - # a Qt5 widget style (archived upstream), so Qt6 apps never got themed - # anyway. If a specific Qt5 app needs the style back, set it per app: - # QT_STYLE_OVERRIDE=adwaita-dark - # or for a systemd unit: Environment=QT_STYLE_OVERRIDE=adwaita-dark. - # A future alternative is stylix's qtct/kvantum platform, once - # https://github.com/nix-community/home-manager/issues/6565 is resolved. - stylix.targets.qt.enable = false; + qt.style = { + package = pkgs.adwaita-qt; + name = "adwaita-dark"; + }; services.wpaperd.enable = true; diff --git a/nixosModules/stylix.nix b/nixosModules/stylix.nix index 6ceec1b..4b30dc7 100644 --- a/nixosModules/stylix.nix +++ b/nixosModules/stylix.nix @@ -68,9 +68,6 @@ gtksourceview.enable = false; fontconfig.enable = true; plymouth.enable = false; - # Sets QT_STYLE_OVERRIDE system-wide, which crashes Qt6 QML apps - # (e.g. polkit-kde-agent) — see homeConfigurations/muede/niri.nix. - qt.enable = false; }; fonts = { sansSerif = {