config/modules/home/rice/qt/default.nix

25 lines
407 B
Nix
Raw Normal View History

2025-01-19 15:04:19 -05:00
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.custom; let
cfg = config.rice.qt;
in {
options.rice.qt = with types; {
enable = mkBoolOpt false "Enable QT Customization";
};
config = mkIf cfg.enable {
catppuccin.kvantum.enable = true;
catppuccin.kvantum.apply = true;
qt.enable = true;
qt.style.name = "kvantum";
qt.platformTheme.name = "kvantum";
};
}