summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-08-19 15:56:24 +0200
committerAlan Pearce2019-08-19 15:56:24 +0200
commit97b6b1f4ed9d211d09f0fadbab92b3c93b604077 (patch)
tree1e10d060df4416cad150d7497ffd41c6536c9a2b
parent215befecd9d8ec133493a8d0d01d2f2504e29fa7 (diff)
downloadnixfiles-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.tar.lz
nixfiles-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.tar.zst
nixfiles-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.zip
UI: fix termite TERM issue once and for all
-rw-r--r--modules/user-interface.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index 2d199edb..09c8dbe0 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -81,6 +81,10 @@ in
   services.devmon.enable = true;
 
   environment.sessionVariables.TERMINAL = "termite";
+  # termite sets a custom TERM whose definition isn't installed by
+  # default. I SSH into too many servers to set this up on every
+  # single one of them, and some get recreated anyway
+  environment.sessionVariables.TERM = "xterm-color";
 
   services.nscd.enable = true;
   systemd.services.nscd.wantedBy = lib.mkForce [];