fix plasma: disable stylix qt target and set widgetStyle=Breeze
Stylix's qt target sets QT_STYLE_OVERRIDE=kvantum and writes qt6ct/qt5ct configs with style=kvantum. plasmashell/KWin crash with a fatal 'module kvantum is not installed' QML error because the kvantum Qt style plugin is not available in the Plasma session. - stylix: targets.qt.enable = false (stops QT_STYLE_OVERRIDE=kvantum) - plasma: remove kvantum package, add widgetStyle=Breeze as belt-and-suspenders
This commit is contained in:
@@ -15,7 +15,6 @@ in
|
||||
home.packages = with pkgs.kdePackages; [
|
||||
plasma-browser-integration
|
||||
kdeplasma-addons
|
||||
kvantum
|
||||
];
|
||||
|
||||
programs.plasma = {
|
||||
@@ -30,6 +29,11 @@ in
|
||||
iconTheme = "breeze-dark";
|
||||
theme = "breeze-dark";
|
||||
lookAndFeel = "org.kde.breezedark.desktop";
|
||||
# Explicitly set Breeze to prevent QT_STYLE_OVERRIDE=kvantum (set by
|
||||
# Stylix's qt6ct target) from being picked up by KWin/plasmashell, which
|
||||
# would cause a fatal "module kvantum is not installed" QML error and
|
||||
# leave the desktop blank.
|
||||
widgetStyle = "Breeze";
|
||||
};
|
||||
|
||||
# input.mice and input.touchpads require device-specific vendorId/productId
|
||||
|
||||
@@ -101,6 +101,14 @@ in
|
||||
useWallpaper = false;
|
||||
};
|
||||
kde.enable = false;
|
||||
# Disable Stylix Qt theming (qt6ct/qt5ct + kvantum). When enabled, Stylix
|
||||
# sets QT_STYLE_OVERRIDE=kvantum and writes qt6ct/qt5ct configs with
|
||||
# style=kvantum. Plasma's plasmashell/KWin crash with a fatal
|
||||
# "module kvantum is not installed" QML error because the kvantum Qt style
|
||||
# plugin is not available. The Plasma home module sets widgetStyle=Breeze
|
||||
# to counteract this, but disabling the source of the problem here is
|
||||
# simpler and avoids the issue for all desktops.
|
||||
qt.enable = false;
|
||||
firefox = {
|
||||
enable = false;
|
||||
profileNames = [
|
||||
|
||||
Reference in New Issue
Block a user