diff --git a/config/etc.nix b/config/etc.nix index 9c0485d..950e2cd 100644 --- a/config/etc.nix +++ b/config/etc.nix @@ -15,6 +15,9 @@ with lib; { }; environment.variables = mkIf (elem "etcvars" config.machine.conffiles) { + # Bat breaks manpages + # https://github.com/sharkdp/bat/issues/2563 + MANROFFOPT = "-c"; LC_CTYPE = "zh_CN.UTF-8"; MANPAGER = "sh -c 'col -bx | bat -l man -p'"; MPV_HOME = "/etc/mpv";