Fix ghostty terminfo on remote hosts.

This commit is contained in:
2025-10-29 15:17:34 +00:00
parent d521c3b013
commit 163b9e4c22

View File

@@ -2,6 +2,9 @@
{
imports = [ ./workstation.nix ];
# Override ghostty to use unstable version (1.2.0+) for ssh-terminfo support
programs.ghostty.package = pkgs.unstable.ghostty;
wayland.windowManager.hyprland = {
enable = true;
settings = {
@@ -18,7 +21,7 @@
# Extend ghostty configuration from omarchy-nix
programs.ghostty.settings = {
# Automatically handle TERM compatibility for SSH
shell-integration-features = "ssh-env,ssh-terminfo";
# Automatically handle TERM compatibility for SSH (requires ghostty 1.2.0+)
shell-integration-features = "ssh-terminfo";
};
}