34 lines
663 B
Nix
34 lines
663 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
username,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.catppuccinTheming;
|
|
in
|
|
#cursor-theme = "Catppuccin-${flavor-upper}-${accent-upper}";
|
|
{
|
|
options = {
|
|
catppuccinTheming = {
|
|
enable = lib.mkEnableOption "Enable catppuccinTheming in NixOS & home-manager";
|
|
};
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
stylix = {
|
|
enable = true;
|
|
image = ./wallpapers/mountainscapedark.jpg;
|
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
|
autoEnable = true;
|
|
};
|
|
home-manager.users.${username}.stylix = {
|
|
targets.kitty.enable = true;
|
|
autoEnable = true;
|
|
};
|
|
|
|
};
|
|
}
|