From dc98b5f22b0eb40de99a8e493241ab2ae96ef6ac Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 13 Jan 2025 14:50:16 -0500 Subject: [PATCH] ssh: ignore ghostty terminfo in ssh --- modules/home/all/ssh.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/all/ssh.nix b/modules/home/all/ssh.nix index 55ef928..26fc75c 100644 --- a/modules/home/all/ssh.nix +++ b/modules/home/all/ssh.nix @@ -7,6 +7,12 @@ # Note: More defined in juspay.nix matchBlocks = { + "*" = { + setEnv = { + # https://ghostty.org/docs/help/terminfo#configure-ssh-to-fall-back-to-a-known-terminfo-entry + TERM = "xterm-256color"; + }; + }; pureintent = { forwardAgent = true; };