.dotfiles/dot_config/flake/modules/home/ghostty.nix
2025-09-18 21:09:43 -04:00

29 lines
581 B
Nix

{pkgs, ...}: {
programs.ghostty = {
enable = true;
package =
if pkgs.stdenv.isDarwin
then pkgs.unstable.ghostty-bin
else pkgs.unstable.ghostty;
settings = {
auto-update = false;
theme = "light:Rose Pine Dawn,dark:Rose Pine";
macos-option-as-alt = "left";
quick-terminal-size = "50%";
shell-integration-features = ["ssh-terminfo"];
right-click-action = "copy-or-paste";
keybind = [
"alt+left=unbind"
"alt+right=unbind"
"global:f12=toggle_quick_terminal"
];
};
};
}