mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 02:22:18 +00:00
30 lines
588 B
Nix
30 lines
588 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
kitty-xterm = pkgs.writeShellScriptBin "xterm" ''
|
|
${config.programs.kitty.package}/bin/kitty -1 "$@"
|
|
'';
|
|
in
|
|
{
|
|
home = {
|
|
packages = [ kitty-xterm ];
|
|
sessionVariables = {
|
|
TERMINAL = "kitty -1";
|
|
};
|
|
};
|
|
|
|
|
|
programs.kitty = {
|
|
enable = true;
|
|
font = {
|
|
name = config.fontProfiles.monospace.family;
|
|
size = 12;
|
|
};
|
|
settings = {
|
|
shell_integration = "no-rc"; # I prefer to do it manually
|
|
scrollback_lines = 4000;
|
|
scrollback_pager_history_size = 2048;
|
|
window_padding_width = 15;
|
|
};
|
|
};
|
|
}
|