2025-03-06 22:38:08 +11:00
|
|
|
{ config, inputs, lib, ... }: {
|
2025-01-24 12:57:53 +11:00
|
|
|
imports = [
|
|
|
|
|
inputs.catppuccin.homeManagerModules.catppuccin
|
|
|
|
|
];
|
|
|
|
|
|
2025-03-06 22:38:08 +11:00
|
|
|
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";
|
2025-03-18 17:29:53 +11:00
|
|
|
flavor = lib.mkDefault "mocha";
|
2025-03-17 12:51:21 +11:00
|
|
|
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-03-18 17:29:53 +11:00
|
|
|
|
|
|
|
|
specialisation = {
|
|
|
|
|
light.configuration.catppuccin.flavor = "latte";
|
|
|
|
|
dark.configuration.catppuccin.flavor = "mocha";
|
|
|
|
|
};
|
2025-01-24 12:57:53 +11:00
|
|
|
};
|
|
|
|
|
}
|