choom pls fix polkit auth
This commit is contained in:
parent
bec143ee92
commit
1a0eacae6a
2 changed files with 15 additions and 4 deletions
|
|
@ -11,10 +11,18 @@
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
];
|
];
|
||||||
|
|
||||||
qt.style = {
|
# Qt theming (QT_STYLE_OVERRIDE) is deliberately disabled, here and in
|
||||||
package = pkgs.adwaita-qt;
|
# nixosModules/stylix.nix. Qt >= 6.5 resolves QT_STYLE_OVERRIDE as a
|
||||||
name = "adwaita-dark";
|
# 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;
|
services.wpaperd.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,9 @@
|
||||||
gtksourceview.enable = false;
|
gtksourceview.enable = false;
|
||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
plymouth.enable = false;
|
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 = {
|
fonts = {
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue