flocon/home/terminal/programs/bat.nix

9 lines
160 B
Nix

_: {
programs.bat = {
enable = true;
config.theme = "ansi";
};
home.sessionVariables = {
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
};
}