ssh: use xterm-256color terminfo
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
0e7995181d
commit
5abd7574c9
1 changed files with 9 additions and 1 deletions
|
@ -10,7 +10,15 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${config.custom.username} = {
|
||||
programs.ssh.enable = true;
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
||||
# https://ghostty.org/docs/help/terminfo#configure-ssh-to-fall-back-to-a-known-terminfo-entry
|
||||
extraConfig = ''
|
||||
Host *
|
||||
SetEnv TERM=xterm-256color
|
||||
'';
|
||||
};
|
||||
|
||||
# Work around FHS permissions
|
||||
# https://github.com/nix-community/home-manager/issues/322#issuecomment-1856128020
|
||||
|
|
Loading…
Add table
Reference in a new issue