diff --git a/common/dev/default.nix b/common/dev/default.nix index 1776996..24f4eb2 100644 --- a/common/dev/default.nix +++ b/common/dev/default.nix @@ -11,9 +11,15 @@ ./virt.nix ]; - # Always use `-FRX`, some Nix shenanigans break the escape sequences otherwise. + # Always use `-FRX`, some Nix shenanigans break the escape sequences + # otherwise. programs.less.envVariables.LESS = "-FRX"; + # Ensure unassigned sequences are printed too, these are used for nerd fonts. + # https://stackoverflow.com/questions/72541931/less-is-not-displaying-what-it-considers-as-unassigned-utf8-unicode-characters + programs.less.envVariables.LESSCHARSET = "utf-8"; + programs.less.envVariables.LESSUTFBINFMT = "*n%C"; + environment.systemPackages = with pkgs; [ harper # Grammar and spell checking language server mdbook # Building documentation locally