infrastructure/home/shell/bat.nix

24 lines
370 B
Nix

{
inputs,
pkgs,
...
}: {
programs.bat = {
enable = true;
themes = {
catppuccin = {
src = inputs.catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};
config.theme = "catppuccin";
extraPackages = with pkgs.bat-extras; [batman];
};
programs.fish.shellAliases = {
cat = "bat";
man = "batman";
};
}