all repos — nixfiles @ 97b6b1f4ed9d211d09f0fadbab92b3c93b604077

System and user configuration, managed by nix and home-manager

UI: fix termite TERM issue once and for all
Alan Pearce alan@alanpearce.eu
Mon, 19 Aug 2019 15:56:24 +0200
commit

97b6b1f4ed9d211d09f0fadbab92b3c93b604077

parent

215befecd9d8ec133493a8d0d01d2f2504e29fa7

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M modules/user-interface.nixmodules/user-interface.nix
@@ -81,6 +81,10 @@   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 [];