infrastructure/home/shell/bat.nix

24 lines
369 B
Nix
Raw Normal View History

2023-12-30 22:50:34 +00:00
{
inputs,
pkgs,
...
}: {
programs.bat = {
enable = true;
2023-12-30 22:50:34 +00:00
themes = {
catppuccin = {
2023-12-30 22:50:34 +00:00
src = inputs.catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};
config.theme = "catppuccin";
2023-12-15 15:18:36 +00:00
extraPackages = with pkgs.bat-extras; [batman];
};
2023-12-30 22:50:34 +00:00
programs.zsh.shellAliases = {
cat = "bat";
man = "batman";
};
}