From 3d6a5a0e40be5fb6521c4199137d09f1b428ec84 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 29 Feb 2024 05:23:49 -0600 Subject: [PATCH] fix(nix-hm): ensure `TERMINFO_DIRS` are set --- config/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/default.nix b/config/default.nix index aecfc9a1..6ce3dbe6 100644 --- a/config/default.nix +++ b/config/default.nix @@ -117,6 +117,10 @@ in { }; } // softLinkDots ".config"; + sessionVariables = { + TERMINFO_DIRS = "${config.home.homeDirectory}/.nix-profile/share/terminfo"; + WSLENV = "TERMINFO_DIRS"; + }; sessionPath = [ "${config.xdg.dataHome}/bin" ];