From f671e772d3c3b893e44399afedb84a0b3f27f922 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 31 Aug 2025 18:23:37 +0200 Subject: [PATCH] qt: Remove Plasma 5 and related Qt5 packages Modeled after the changes in Nixpkgs from https://github.com/NixOS/nixpkgs/pull/435823, platform `kde6` is removed and platform `kde` now means Plasma 6. Also fixes evaluation error due to missing attribute `libsForQt5.breeze-qt5` (https://github.com/nix-community/home-manager/issues/7728). --- modules/misc/qt.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/modules/misc/qt.nix b/modules/misc/qt.nix index 1410299e8..91966d9aa 100644 --- a/modules/misc/qt.nix +++ b/modules/misc/qt.nix @@ -23,11 +23,6 @@ let qt6Packages.qt6gtk2 ]; kde = [ - libsForQt5.kio - libsForQt5.plasma-integration - libsForQt5.systemsettings - ]; - kde6 = [ kdePackages.kio kdePackages.plasma-integration kdePackages.systemsettings @@ -46,7 +41,6 @@ let styleNames = { gtk = "gtk2"; qtct = "qt5ct"; - kde6 = "kde"; }; # Maps known lowercase style names to style packages. Non-exhaustive. @@ -79,7 +73,10 @@ let adwaita-qt6 ]; - breeze = libsForQt5.breeze-qt5; + breeze = [ + kdePackages.breeze + kdePackages.breeze.qt5 + ]; kvantum = [ libsForQt5.qtstyleplugin-kvantum @@ -191,10 +188,7 @@ in applications `kde` - : Use Qt settings from Plasma 5 - - `kde6` - : Use Qt settings from Plasma 6 + : Use Qt settings from Plasma ''; }; package = lib.mkOption { @@ -221,7 +215,6 @@ in "lxqt" "qtct" "kde" - "kde6" ]) (lib.types.submodule { options = newOption; }) ); default = null;