dotfiles/modules/home/programs/kitty/default.nix

31 lines
548 B
Nix
Raw Normal View History

2024-08-01 05:48:06 +00:00
{
config,
lib,
pkgs,
namespace,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.programs.kitty;
in {
options.${namespace}.programs.kitty = {
enable = mkEnableOption "kitty";
};
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
2024-08-12 02:21:41 +00:00
catppuccin.enable = true;
2024-08-01 05:48:06 +00:00
font = {
size = 12;
package = pkgs.nerdfonts.override {fonts = ["Hack"];};
name = "Hack Nerd Font";
};
settings = {
background_opacity = "0.95";
};
};
};
}