2023-05-18 16:11:26 +05:30
|
|
|
{pkgs, ...}: let
|
2023-09-09 21:37:15 +05:30
|
|
|
dracula-kitty = pkgs.fetchFromGitHub {
|
2023-03-15 22:11:59 +05:30
|
|
|
owner = "dracula";
|
|
|
|
repo = "kitty";
|
|
|
|
rev = "87717a3f00e3dff0fc10c93f5ff535ea4092de70";
|
|
|
|
hash = "sha256-78PTH9wE6ktuxeIxrPp0ZgRI8ST+eZ3Ok2vW6BCIZkc=";
|
|
|
|
};
|
2023-05-18 16:11:26 +05:30
|
|
|
in {
|
2023-03-15 22:11:59 +05:30
|
|
|
programs.kitty = {
|
|
|
|
enable = true;
|
2023-05-18 16:11:26 +05:30
|
|
|
font.package = pkgs.nerdfonts.override {fonts = ["FiraCode"];};
|
2023-03-15 22:11:59 +05:30
|
|
|
font.name = "FiraCode Nerd Font";
|
|
|
|
extraConfig = ''
|
|
|
|
font_size 14
|
|
|
|
initial_window_width 100c
|
|
|
|
initial_window_height 25c
|
|
|
|
window_padding_width 4.0
|
|
|
|
background_opacity 0.98
|
|
|
|
cursor_shape beam
|
|
|
|
scrollback_lines 2000
|
|
|
|
copy_on_select clipboard
|
|
|
|
url_style curly
|
|
|
|
sync_to_monitor yes
|
|
|
|
shell_integration disabled
|
|
|
|
|
2023-09-09 21:37:15 +05:30
|
|
|
include ${dracula-kitty}/dracula.conf
|
2023-03-15 22:11:59 +05:30
|
|
|
'';
|
|
|
|
settings = {
|
|
|
|
enable_audio_bell = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|