{ theme, ... }: {
  # Kitty Conf
  # https://sw.kovidgoyal.net/kitty/conf/

  # Theme
  imports = [ ./themes/${theme}/kitty-theme.nix ];

  home.file.".config/kitty/kitty.conf".text = ''
  sync_to_monitor yes
  bell_on_tab "🔔 "
  window_alert_on_bell yes
  visual_bell_color none
  command_on_bell none

  tab_bar_edge bottom
  tab_bar_style powerline
  tab_bar_align center
  tab_bar_min_tabs 2
  tab_powerline_style angled
  tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"

  allow_hyperlinks yes
  disable_ligatures never
  shell_integration enabled

  font_family      JetBrainsMono Nerd Medium
  bold_font        JetBrainsMono Nerd Bold
  italic_font      JetBrainsMono Nerd Italic
  bold_italic_font JetBrainsMono Nerd Bold Italic

  include ./theme.conf
  '';
}