diff --git a/nixos/environment.nix b/nixos/environment.nix index f072fc9..cfc8732 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -5,6 +5,12 @@ # XDG settings XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config"; + + # less settings + LESS = "-R"; + # Fix unicode characters not being displayed properly in less or cat (bat) + # https://github.com/sharkdp/bat/issues/2578#issuecomment-1598332705 + LESSUTFCHARDEF = "E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p"; }; environment.sessionVariables = {