mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-28 19:52:19 +00:00
31 lines
588 B
Nix
31 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;
|
||
|
};
|
||
|
};
|
||
|
}
|