24 lines
427 B
Nix
Executable file
24 lines
427 B
Nix
Executable file
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# like `/bin/cat` but with syntax highlighting
|
|
# TODO: change the pager (maybe use Github:sachaos/viddy instead)
|
|
programs.bat = {
|
|
enable = true;
|
|
config = {
|
|
pager = "less -FR";
|
|
theme = "Dracula";
|
|
};
|
|
};
|
|
|
|
# other commands that make normal utils prettier
|
|
home.packages = with pkgs.bat-extras; [
|
|
batdiff
|
|
batgrep
|
|
batman
|
|
batwatch
|
|
prettybat
|
|
];
|
|
}
|