🗑️ (neodymium/home) fix deprecated theme syntax for bat

This commit is contained in:
Laureηt 2023-10-16 20:12:49 +02:00
parent 63ef7c6f23
commit 79c3c68a94
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -10,8 +10,10 @@ in {
programs.bat = {
enable = true;
themes = {
catppuccin =
builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
catppuccin = {
src = catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};
config.theme = "catppuccin";
extraPackages = with pkgs.bat-extras; [ batman ];