nix-config/programs/ghostty/default.nix

32 lines
713 B
Nix
Raw Normal View History

2025-08-30 11:02:20 -07:00
{ pkgs, ... }:
let
my_settings = {
auto-update = "off";
copy-on-select = "clipboard";
font-family = "SF Mono";
font-size = 16;
2025-10-03 19:21:22 -07:00
link-previews = true;
macos-shortcuts = "ask";
2025-08-30 11:02:20 -07:00
macos-titlebar-style = "transparent";
2025-10-03 19:21:22 -07:00
maximize = true;
2025-08-30 11:02:20 -07:00
mouse-hide-while-typing = true;
split-divider-color = "orange";
theme = "Builtin Tango Dark";
window-inherit-working-directory = true;
window-save-state = "always";
working-directory = "home";
keybind = [
"shift+enter=text:\n"
];
};
in
{
programs.ghostty = {
enable = true;
enableFishIntegration = true;
installVimSyntax = true;
package = pkgs.ghostty-bin;
settings = my_settings;
};
}