1
1
Fork 0
nixos/options/custom/settings/qt.nix

25 lines
381 B
Nix
Raw Permalink Normal View History

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.settings.qt;
in {
options.custom.settings.qt.enable = mkOption {default = false;};
config = mkIf cfg.enable {
qt = {
enable = true;
style = "gtk2";
};
home-manager.users.${config.custom.username} = {
qt = {
enable = true;
style.name = "gtk";
};
};
};
}