flakes/modules/user/catppuccin.nix

32 lines
822 B
Nix
Raw Normal View History

{ config, inputs, lib, ... }: {
2025-01-24 12:57:53 +11:00
imports = [
inputs.catppuccin.homeManagerModules.catppuccin
];
options.catppuccin.colors = lib.mkOption {
type = lib.types.attrs;
default = (builtins.fromJSON (builtins.readFile "${inputs.catppuccin-palette}/palette.json"))."${config.catppuccin.flavor}".colors;
};
options.catppuccin.hexcolors = lib.mkOption {
type = lib.types.attrs;
default = builtins.mapAttrs (name: value: value.hex) config.catppuccin.colors;
};
2025-03-17 12:51:21 +11:00
config = {
catppuccin = {
accent = "maroon";
flavor = "latte";
kitty.enable = true;
gtk.enable = true;
2025-03-17 16:27:44 +11:00
hyprlock.enable = true;
2025-03-17 12:51:21 +11:00
kvantum.enable = true;
nvim.enable = true;
};
qt = {
enable = true;
style.name = "kvantum";
platformTheme.name = "kvantum";
};
2025-01-24 12:57:53 +11:00
};
}