Fix ghostty terminfo on remote hosts.
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
{
|
{
|
||||||
imports = [ ./workstation.nix ];
|
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 = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -18,7 +21,7 @@
|
|||||||
|
|
||||||
# Extend ghostty configuration from omarchy-nix
|
# Extend ghostty configuration from omarchy-nix
|
||||||
programs.ghostty.settings = {
|
programs.ghostty.settings = {
|
||||||
# Automatically handle TERM compatibility for SSH
|
# Automatically handle TERM compatibility for SSH (requires ghostty 1.2.0+)
|
||||||
shell-integration-features = "ssh-env,ssh-terminfo";
|
shell-integration-features = "ssh-terminfo";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user