2024-04-20 09:42:06 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2025-01-20 22:35:40 -05:00
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.nmasur.presets.programs.kitty-darwin;
|
|
|
|
in
|
2024-04-20 09:42:06 -04:00
|
|
|
{
|
2022-10-31 14:45:51 -04:00
|
|
|
|
2025-01-20 22:35:40 -05:00
|
|
|
options.nmasur.presets.programs.kitty-darwin.enable = lib.mkEnableOption "Kitty terminal for macOS";
|
|
|
|
|
2022-10-31 14:45:51 -04:00
|
|
|
# MacOS-specific settings for Kitty
|
2025-01-20 22:35:40 -05:00
|
|
|
config = lib.mkIf cfg.enable {
|
2022-10-31 14:45:51 -04:00
|
|
|
programs.kitty = {
|
2025-01-20 22:35:40 -05:00
|
|
|
enable = true;
|
2022-10-31 14:45:51 -04:00
|
|
|
font.size = lib.mkForce 20;
|
|
|
|
settings = {
|
2022-11-19 19:11:26 -07:00
|
|
|
shell = "/run/current-system/sw/bin/fish";
|
2022-10-31 14:45:51 -04:00
|
|
|
macos_traditional_fullscreen = true;
|
|
|
|
macos_quit_when_last_window_closed = true;
|
2022-11-20 11:55:11 -07:00
|
|
|
disable_ligatures = "always";
|
2022-11-23 14:37:57 -07:00
|
|
|
macos_option_as_alt = true;
|
2022-10-31 14:45:51 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|