31 lines
635 B
Nix
31 lines
635 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}: {
|
|
environment.systemPackages = with pkgs; [
|
|
libsForQt5.qtstyleplugins
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
#other stuff
|
|
];
|
|
home-manager.users.${vars.user} = {
|
|
qt.enable = true;
|
|
|
|
# platform theme "gtk" or "gnome"
|
|
qt.platformTheme = "gtk";
|
|
|
|
# name of the qt theme
|
|
qt.style.name = "adwaita";
|
|
|
|
# detected automatically:
|
|
# adwaita, adwaita-dark, adwaita-highcontrast,
|
|
# adwaita-highcontrastinverse, breeze,
|
|
# bb10bright, bb10dark, cde, cleanlooks,
|
|
# gtk2, motif, plastique
|
|
|
|
# package to use
|
|
qt.style.package = pkgs.adwaita-qt;
|
|
};
|
|
}
|