nix/modules/home-manager/bat.nix

27 lines
523 B
Nix
Raw Normal View History

2023-10-05 13:43:28 -05:00
{
2024-01-04 22:15:55 -06:00
# pkgs,
2023-10-05 13:43:28 -05:00
# colors,
...
}: {
programs.bat = {
enable = true;
config = {
2023-11-21 23:42:42 -06:00
theme = "ansi";
2023-10-05 13:43:28 -05:00
};
2023-11-21 23:42:42 -06:00
# themes = {
# "Catppuccin-mocha" = builtins.readFile (pkgs.fetchFromGitHub
# {
# owner = "catppuccin";
# repo = "bat";
# rev = "477622171ec0529505b0ca3cada68fc9433648c6";
# sha256 = "6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
# }
# + "/Catppuccin-mocha.tmTheme");
# };
2023-10-05 13:43:28 -05:00
};
home.shellAliases = {
cat = "bat";
};
}