nixfiles/home/apps/kitty.nix

25 lines
621 B
Nix
Raw Normal View History

{ config, nixosConfig, ... }:
2021-12-21 00:51:20 +00:00
{
wayland.windowManager.sway.extraSessionCommands = ''
export KITTY_CACHE_DIRECTORY="/tmp/kitty";
'';
programs.kitty = {
enable = true;
2021-12-21 01:30:26 +00:00
font.name = "Comic Code";
2021-12-21 00:51:20 +00:00
settings = {
2022-11-11 16:32:26 +00:00
font_size =
if nixosConfig.networking.hostName == "tablet" then 12 else 20;
2021-12-21 00:51:20 +00:00
bold_font = "auto";
italic_font = "auto";
bold_italic_font = "auto";
background_opacity = "0.9";
disable_ligatures = "cursor";
2022-03-02 16:19:09 +00:00
enable_audio_bell = false;
tab_bar_style = "separator";
tab_separator = " | ";
confirm_os_window_close = 0;
2021-12-21 00:51:20 +00:00
};
};
2021-12-21 15:26:21 +00:00
}