Set env to fix manpages with bat.
This commit is contained in:
parent
892d7d9b1f
commit
aa05963032
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue