diff options
author | linsui <linsui555@gmail.com> | 2022-10-23 21:46:02 +0800 |
---|---|---|
committer | linsui <linsui555@gmail.com> | 2023-01-10 20:48:45 +0800 |
commit | 16f0d689deae07f24967d0ab95c014d6d3a317a4 (patch) | |
tree | 76021542b828f63fb72a05dab2934e2c32b3afde /nixos | |
parent | 41bd3b658ae1608027fea98d7fe757623c2c58f9 (diff) |
Add gnome theme for qt6
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/qt5.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nixos/modules/config/qt5.nix b/nixos/modules/config/qt5.nix index cb3180d7b96a..7225388f99d2 100644 --- a/nixos/modules/config/qt5.nix +++ b/nixos/modules/config/qt5.nix @@ -12,7 +12,13 @@ let isLxqt = cfg.platformTheme == "lxqt"; isKde = cfg.platformTheme == "kde"; - packages = if isQGnome then [ pkgs.qgnomeplatform pkgs.adwaita-qt ] + packages = + if isQGnome then [ + pkgs.qgnomeplatform + pkgs.adwaita-qt + pkgs.qgnomeplatform-qt6 + pkgs.adwaita-qt6 + ] else if isQtStyle then [ pkgs.libsForQt5.qtstyleplugins ] else if isQt5ct then [ pkgs.libsForQt5.qt5ct ] else if isLxqt then [ pkgs.lxqt.lxqt-qtplugin pkgs.lxqt.lxqt-config ] @@ -40,6 +46,7 @@ in example = "gnome"; relatedPackages = [ "qgnomeplatform" + "qgnomeplatform-qt6" ["libsForQt5" "qtstyleplugins"] ["libsForQt5" "qt5ct"] ["lxqt" "lxqt-qtplugin"] @@ -71,6 +78,7 @@ in example = "adwaita"; relatedPackages = [ "adwaita-qt" + "adwaita-qt6" ["libsForQt5" "qtstyleplugins"] ]; description = lib.mdDoc '' |