From 163b9e4c22f12ab268b3849a53878ab013001fd5 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Wed, 29 Oct 2025 15:17:34 +0000 Subject: [PATCH] Fix ghostty terminfo on remote hosts. --- home/programs/desktop.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/home/programs/desktop.nix b/home/programs/desktop.nix index 765ce84..92df0a6 100644 --- a/home/programs/desktop.nix +++ b/home/programs/desktop.nix @@ -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"; }; }