2024-12-19 16:49:08 +00:00
|
|
|
{pkgs, ...}: {
|
2024-11-27 16:44:35 +00:00
|
|
|
programs.bat = {
|
|
|
|
enable = true;
|
2024-12-08 19:58:04 +00:00
|
|
|
config.theme = "base16";
|
2024-11-27 16:44:35 +00:00
|
|
|
};
|
2024-12-19 16:49:08 +00:00
|
|
|
|
|
|
|
home = {
|
|
|
|
sessionVariables = {
|
|
|
|
MANPAGER = "sh -c 'col -bx | bat --language man' ";
|
|
|
|
MANROFFOPT = "-c";
|
|
|
|
};
|
|
|
|
|
|
|
|
packages = with pkgs.bat-extras; [
|
|
|
|
batman
|
|
|
|
];
|
|
|
|
|
|
|
|
shellAliases.man = "batman";
|
2024-11-27 16:44:35 +00:00
|
|
|
};
|
|
|
|
}
|