mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-27 07:44:58 +08:00
23 lines
700 B
Nix
23 lines
700 B
Nix
{
|
|
# Better terminal, with good rendering.
|
|
programs.kitty = {
|
|
enable = true;
|
|
# Pick "name" from https://github.com/kovidgoyal/kitty-themes/blob/master/themes.json
|
|
theme = "Tokyo Night";
|
|
font = {
|
|
name = "Monaco";
|
|
size = 14;
|
|
};
|
|
keybindings = {
|
|
"kitty_mod+e" = "kitten hints"; # https://sw.kovidgoyal.net/kitty/kittens/hints/
|
|
};
|
|
settings = {
|
|
# https://github.com/kovidgoyal/kitty/issues/371#issuecomment-1095268494
|
|
# mouse_map = "left click ungrabbed no-op";
|
|
# Ctrl+Shift+click to open URL.
|
|
confirm_os_window_close = "0";
|
|
# https://github.com/kovidgoyal/kitty/issues/847
|
|
macos_option_as_alt = "yes";
|
|
};
|
|
};
|
|
}
|