summaryrefslogtreecommitdiff
path: root/home-manager/default.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2025-11-23 07:41:48 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2025-11-23 07:41:48 -0700
commit154caf63dffc1c24b69c088bea039a51b7c8348a (patch)
tree4f5766468d55e1e77acd4d7c963f06b11412cc4d /home-manager/default.nix
parentd2785cd7cf6107f5bf6ca9af3bb4e1bcfa00b7fc (diff)
make trucolor work over ssh
Diffstat (limited to 'home-manager/default.nix')
-rw-r--r--home-manager/default.nix22
1 files changed, 14 insertions, 8 deletions
diff --git a/home-manager/default.nix b/home-manager/default.nix
index 1cda1db..48e42d6 100644
--- a/home-manager/default.nix
+++ b/home-manager/default.nix
@@ -87,14 +87,20 @@
};
programs = {
- ssh.matchBlocks = {
- serverAliveCountMax = 6;
- serverAliveInterval = 30;
- port = 2200;
- "git.wormcar.gay" = {
- user = "devinf";
- host = "git.wormcar.gay";
- port = 2200;
+ ssh = {
+ extraConfig = ''
+ AcceptEnv LANG LC_* TERM COLORTERM
+ SendEnv TERM COLORTERM LANG LC_*
+ '';
+ matchBlocks = {
+ serverAliveCountMax = 6;
+ serverAliveInterval = 30;
+ port = 2200;
+ "git.wormcar.gay" = {
+ user = "devinf";
+ host = "git.wormcar.gay";
+ port = 2200;
+ };
};
};