dotnix/apps/nogui/bat.nix

16 lines
420 B
Nix
Raw Normal View History

{pkgs, ...}: {
2023-06-28 20:48:01 +00:00
programs.bat = {
enable = true;
config = {theme = "ctp-mocha";};
2023-06-28 20:48:01 +00:00
themes = {
ctp-mocha = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
}
+ "/Catppuccin-mocha.tmTheme");
2023-06-28 20:48:01 +00:00
};
};
}