choom pls fix polkit auth

This commit is contained in:
müde 2026-07-15 22:57:26 +02:00
commit 1a0eacae6a
2 changed files with 15 additions and 4 deletions

View file

@ -11,10 +11,18 @@
xwayland-satellite
];
qt.style = {
package = pkgs.adwaita-qt;
name = "adwaita-dark";
};
# 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 <app>
# 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;
services.wpaperd.enable = true;

View file

@ -68,6 +68,9 @@
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 = {