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