summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2019-08-19 15:56:24 +0200
committerAlan Pearce2019-08-19 15:56:24 +0200
commit97b6b1f4ed9d211d09f0fadbab92b3c93b604077 (patch)
tree1e10d060df4416cad150d7497ffd41c6536c9a2b /modules
parent215befecd9d8ec133493a8d0d01d2f2504e29fa7 (diff)
downloadnixos-configuration-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.tar.lz
nixos-configuration-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.tar.zst
nixos-configuration-97b6b1f4ed9d211d09f0fadbab92b3c93b604077.zip
UI: fix termite TERM issue once and for all
Diffstat (limited to 'modules')
-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 2d199ed..09c8dbe 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 [];