nixconf/modules/applications/kitty.nix
2025-03-31 23:32:04 +02:00

28 lines
489 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.modules.apps.kitty;
in
{
options.modules.apps.kitty = {
enable = lib.mkEnableOption "enable the kitty terminal emulator";
};
config = lib.mkIf cfg.enable {
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = 0;
scrollback_lines = 5000;
};
shellIntegration = {
enableZshIntegration = true;
enableBashIntegration = true;
};
};
};
}