-
-
Notifications
You must be signed in to change notification settings - Fork 434
Terminfo issues
Jan Schmitt edited this page May 20, 2022
·
6 revisions
If you encounter errors during activation like tput: unknown terminal "xterm-kitty"
try it from a different terminal or use
TERM=xterm-256color sudo /nix/var/nix/profiles/system/activate
to mitigate that temporarily.
A more suited and permanent solution is to put the following snippet into your darwin-configuration.nix:
environment.variables = {
TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo";
};
see https://github.com/nix-community/home-manager/issues/423 for more details.