nix/home-manager/common/software/gui/ghostty.nix

29 lines
890 B
Nix
Raw Normal View History

2025-01-06 22:10:52 +01:00
{ theme, ... }: {
2025-01-07 19:56:09 +01:00
# TODO Re-enable this when 25.05 is out or when this is compabile with 24.11
# imports = [ ../../../../stylix/themes/${theme}/home-manager/ghostty.nix ];
# Otherwise it sets the term to "xterm-ghostty" and it fails to connect to ssh
programs.bash.sessionVariables = { TERM = "xterm-256color"; };
programs.fish.shellInit = ''set TERM "xterm-256color '';
2025-01-06 22:10:52 +01:00
programs.ghostty = {
2025-01-07 19:56:09 +01:00
# TODO Re-enable this when 25.05 is out or when this is compabile with 24.11
enable = false;
2025-01-06 22:10:52 +01:00
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
installBatSyntax = true;
installVimSyntax = true;
settings = {
font-size = 10;
cursor-style = "bar";
keybind = [
"shift+right=next_tab"
"shift+left=previous_tab"
"shift+up=toggle_tab_overview"
];
};
};
}