27 lines
481 B
Nix
27 lines
481 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;
|
|
};
|
|
shellIntegration = {
|
|
enableZshIntegration = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
};
|
|
};
|
|
}
|