diff options
author | aszlig <aszlig@nix.build> | 2021-07-09 18:26:00 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2021-07-09 18:26:00 +0200 |
commit | 6005f72476428ecab45fa12f6da55a86291e5d25 (patch) | |
tree | 320005c3b2528f427fd7171a4dc9995fdbd372b1 /modules/user/aszlig/profiles | |
parent | 70176cfc488aafaf933fb16e312ac38dce76a635 (diff) |
workstation: Patch XTerm to set $COLORTERM
While ncurses already has support for detecting direct color terminals, a lot of applications out there do not yet query terminfo but instead rely on some shady COLORTERM environment variable. While I don't really like that approach, patching XTerm to set that variable currently is better than patching all the applications to query terminfo. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig/profiles')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index d8f18f9f..5e1976a8 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -188,6 +188,10 @@ in { }; }; + nixpkgs.overlays = lib.singleton (lib.const (super: { + xterm = super.vuizvui.aszlig.xterm; + })); + users.users.aszlig = { uid = 1000; isNormalUser = true; |