dotfiles/modules/programs/kitty.nix

40 lines
909 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.programs.kitty;
in
{
2022-10-15 20:00:09 +02:00
options.my.programs.kitty.enable = mkEnableOption "kitty";
2022-07-15 13:11:54 +02:00
config = mkIf cfg.enable {
2022-11-10 22:12:36 +01:00
my.shell.aliases.ssh = "TERM=xterm-256color command ssh";
2022-07-15 13:11:54 +02:00
home-manager.users.moritz = {
programs.kitty = {
enable = true;
settings = {
scrollback_lines = 10000;
enable_audio_bell = false;
cursor_shape = "underline";
window_padding_width = 3;
confirm_os_window_close = 0;
2023-08-26 11:45:21 +02:00
background_opacity = "0.9";
2024-08-19 09:54:40 +02:00
font_features = "IntelOneMono-Regular +ss01";
2024-08-30 10:29:59 +02:00
resize_in_steps = "yes";
2022-07-15 13:11:54 +02:00
};
keybindings = {
"ctrl+plus" = "change_font_size all +2.0";
"ctrl+minus" = "change_font_size all -2.0";
};
font = {
2024-08-19 09:54:40 +02:00
name = "Intel One Mono";
2022-07-15 13:11:54 +02:00
size = 10;
};
};
};
};
}