Files
nix-config/home/base/server/bat/default.nix
2023-07-16 16:08:55 +08:00

18 lines
387 B
Nix

{ ... }:
{
# a cat(1) clone with syntax highlighting and Git integration.
programs.bat = {
enable = true;
config = {
pager = "less -FR";
theme = "Catppuccin-mocha";
};
themes = {
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
Catppuccin-mocha = builtins.readFile ./Catppuccin-mocha.tmTheme;
};
};
}