From bf01c40ebbf0eeaf38c812af5b6de27027499226 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Mon, 13 Apr 2026 21:25:35 +0800 Subject: [PATCH] feat(ghostty): enable SSH terminfo propagation and install terminfo on NixOS Enable ssh-env and ssh-terminfo in Ghostty shell integration for automatic terminfo handling on remote hosts, and add ghostty.terminfo to NixOS system packages for coverage when Ghostty SSH wrapper is bypassed. --- home/shell/ghostty.nix | 1 + modules/nixos/base.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/home/shell/ghostty.nix b/home/shell/ghostty.nix index 3391a5e..08d6ace 100644 --- a/home/shell/ghostty.nix +++ b/home/shell/ghostty.nix @@ -7,6 +7,7 @@ settings = { font-family = "Maple Mono NF CN"; font-size = 14; + shell-integration-features = "cursor,sudo,title,ssh-env,ssh-terminfo"; }; }; } diff --git a/modules/nixos/base.nix b/modules/nixos/base.nix index 848c85d..a1856f1 100644 --- a/modules/nixos/base.nix +++ b/modules/nixos/base.nix @@ -6,6 +6,7 @@ environment.systemPackages = with pkgs; [ curl git + ghostty.terminfo vim wget ];