1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00

qt: add "kde6" to qt.platformTheme (#6493)

This commit is contained in:
Ilise Leary 2025-03-09 08:15:02 -05:00 committed by GitHub
parent 1fd39a1055
commit 07f505f91e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,11 @@ let
libsForQt5.plasma-integration libsForQt5.plasma-integration
libsForQt5.systemsettings libsForQt5.systemsettings
]; ];
kde6 = [
kdePackages.kio
kdePackages.plasma-integration
kdePackages.systemsettings
];
lxqt = [ lxqt.lxqt-qtplugin lxqt.lxqt-config ]; lxqt = [ lxqt.lxqt-qtplugin lxqt.lxqt-config ];
qtct = [ libsForQt5.qt5ct qt6Packages.qt6ct ]; qtct = [ libsForQt5.qt5ct qt6Packages.qt6ct ];
}; };
@ -75,6 +80,8 @@ in {
[ "libsForQt5" "qt5ct" ] [ "libsForQt5" "qt5ct" ]
[ "libsForQt5" "qtstyleplugins" ] [ "libsForQt5" "qtstyleplugins" ]
[ "libsForQt5" "systemsettings" ] [ "libsForQt5" "systemsettings" ]
[ "kdePackages" "plasma-integration" ]
[ "kdePackages" "systemsettings" ]
[ "lxqt" "lxqt-config" ] [ "lxqt" "lxqt-config" ]
[ "lxqt" "lxqt-qtplugin" ] [ "lxqt" "lxqt-qtplugin" ]
[ "qt6Packages" "qt6ct" ] [ "qt6Packages" "qt6ct" ]
@ -114,7 +121,10 @@ in {
applications applications
`kde` `kde`
: Use Qt settings from Plasma : Use Qt settings from Plasma 5
`kde6`
: Use Qt settings from Plasma 6
''; '';
}; };
package = lib.mkOption { package = lib.mkOption {
@ -131,8 +141,8 @@ in {
}; };
in lib.mkOption { in lib.mkOption {
type = with lib.types; type = with lib.types;
nullOr nullOr (either
(either (enum [ "gtk" "gtk3" "gnome" "adwaita" "lxqt" "qtct" "kde" ]) (enum [ "gtk" "gtk3" "gnome" "adwaita" "lxqt" "qtct" "kde" "kde6" ])
(lib.types.submodule { options = newOption; })); (lib.types.submodule { options = newOption; }));
default = null; default = null;
description = '' description = ''