From 28dc20aa36fcf28361465b408f466427d3deceb5 Mon Sep 17 00:00:00 2001 From: osbm Date: Tue, 14 Jan 2025 14:15:30 +0300 Subject: [PATCH] try this for now --- modules/home.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/home.nix b/modules/home.nix index 24fbc63..44442fe 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -24,22 +24,30 @@ hashKnownHosts = true; compression = true; + + matchBlocks = { "tartarus" = { hostname = "192.168.0.4"; user = "osbm"; identityFile = "/home/osbm/.ssh/id_ed25519"; - # extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb). - # "RemoteCommand" = "fish"; - # }; + setEnv = { + "TERM" = "xterm-256color"; + }; + extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb). + "RemoteCommand" = "fish"; + }; }; "ymir" = { hostname = "192.168.0.2"; user = "osbm"; identityFile = "/home/osbm/.ssh/id_ed25519"; - # extraOptions = { # TODO fix the damn starship error - # "RemoteCommand" = "fish"; - # }; + setEnv = { + "TERM" = "xterm-256color"; + }; + extraOptions = { # TODO fix the damn starship error + "RemoteCommand" = "fish"; + }; }; }; };