{ 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"; }; }; }; }