{ config, lib, osConfig, pkgs, ... }: with lib; let hyprlandCfg = osConfig.modules.hyprland; zshCfg = osConfig.modules.zsh; in { config = mkIf (hyprlandCfg.terminal == "kitty") { programs.kitty = { enable = true; package = pkgs.kitty; font = { name = mkIf (zshCfg.enable) (mkForce "MesloLGS Nerd Font"); package = mkIf (zshCfg.enable) (mkForce pkgs.nerd-fonts.meslo-lg); }; settings = { scrollback_lines = 10000; shell_integration = true; }; extraConfig = '' # Clipboard map ctrl+shift+v paste_from_selection ''; }; }; }