config/modules/home/apps/term/kitty/default.nix
2025-09-05 09:26:03 -04:00

40 lines
888 B
Nix

{
options,
pkgs,
config,
lib,
...
}:
with lib;
with lib.custom; let
cfg = config.apps.term.kitty;
in {
options.apps.term.kitty = with types; {
enable = mkBoolOpt false "Enable Kitty Term";
};
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
extraConfig = ''
font_family family='Berkeley Mono' style='Regular ExtraCondensed'
bold_font family='Berkeley Mono' style='Retina ExtraCondensed'
italic_font family='Berkeley Mono' style='Regular ExtraCondensed'
bold_italic_font family='Berkeley Mono' style='Retina ExtraCondensed'
'';
catppuccin.enable = true;
settings = {
window_padding_width = 20;
background_opacity = "0.9";
font_hinting = "slight";
cursor_trail = 3;
text_composition_strategy = "1.2 10";
};
};
};
}