nixconf/modules/applications/kitty.nix

28 lines
515 B
Nix

{
lib,
config,
...
}:
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;
background_opacity = 0.2;
};
shellIntegration = {
enableZshIntegration = true;
enableBashIntegration = true;
};
};
};
}