add bat config

This commit is contained in:
2026-02-20 13:51:43 +01:00
parent 529d7aaa15
commit b0d266d050
2 changed files with 25 additions and 0 deletions

24
modules/bat.nix Normal file
View File

@@ -0,0 +1,24 @@
{ pkgs, ... }:
{
programs.bat = {
enable = true;
config = {
theme = "cattpuccin-mocha";
};
themes = {
catppuccin-mocha = {
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "6810349b28055dce54076712fc05fc68da4b8ec0";
hash = "sha256-lJapSgRVENTrbmpVyn+UQabC9fpV1G1e+CdlJ090uvg=";
};
file = "themes/Catppuccin Mocha.tmTheme";
};
};
};
}