Nix configurations for my personal machines (Linux & macOS)
1{delib, ...}:
2delib.module {
3 name = "programs.kitty";
4
5 options = delib.singleEnableOption true;
6
7 home.ifEnabled.programs.kitty = {
8 enable = true;
9 font.name = "Iosevka Solai";
10 font.size = 12;
11 shellIntegration.enableFishIntegration = true;
12 themeFile = "rose-pine";
13 settings = {
14 cursor_shape = "block";
15 cursor_shape_unfocused = "hollow";
16 scrollback_lines = 10000;
17 scrollback_pager = "moor +INPUT_LINE_NUMBER";
18 scrollback_pager_history_size = 5;
19 window_padding_width = 8;
20 hide_window_decorations = true;
21 tab_bar_style = "powerline"; # custom?
22 # tab_bar_margin_width = "8.0";
23 # tab_bar_margin_height = "8.0 0.0";
24 tab_powerline_style = "slanted";
25 tab_activity_symbol = "🞛";
26 tab_title_template = "{fmt.fg.magenta}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
27 # window logo?
28 paste_actions = "quote-urls-at-prompt,confirm-if-large";
29
30 background_opacity = "0.5";
31 background_blur = 64;
32
33 notify_on_cmd_finish = "unfocused 10.0 bell";
34 macos_option_as_alt = "left";
35 wayland_enable_ime = false;
36 };
37 };
38}