snowflake/home/bat/default.nix

18 lines
445 B
Nix
Raw Normal View History

2023-05-21 17:53:44 -04:00
{pkgs, ...}: {
programs.bat = {
2023-05-21 16:49:26 -04:00
enable = true;
config = {
theme = "catppuccin-mocha";
};
themes = {
catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
}
+ "/Catppuccin-mocha.tmTheme");
};
};
2023-05-21 17:53:44 -04:00
}