Fix ghostty terminfo on remote hosts.
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user