diff --git a/modules/home/desktop/plasma/default.nix b/modules/home/desktop/plasma/default.nix index eb31c4e..022f0b9 100644 --- a/modules/home/desktop/plasma/default.nix +++ b/modules/home/desktop/plasma/default.nix @@ -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 diff --git a/modules/home/stylix/default.nix b/modules/home/stylix/default.nix index ef26457..5cb65eb 100644 --- a/modules/home/stylix/default.nix +++ b/modules/home/stylix/default.nix @@ -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 = [