Sure, this is what I have:
NixOS module
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.<user>.imports = [
./hosts/default/home.nix
inputs.catppuccin.homeManagerModules.catppuccin #for other packages
];
home-manager.extraSpecialArgs = { inherit inputs; };
}
Inside "./hosts/default/home.nix"
home.packages = with pkgs; [
(catppuccin-kvantum.override {
accent = "Blue";
variant = "Macchiato";
})
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
];
qt = {
enable = true;
platformTheme = "qtct";
style.name = "kvantum";
};
xdg.configFile."Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini { }).generate "kvantum.kvconfig" {
General.theme = "Catppuccin-Macchiato-Blue";
};
Then in qt5ct and qt6ct I manually set kvantum as the theme. That’s it.
Also, I think it might be better if we moved this to a separate issue as it’s not related to catppuccin-nix.