home/bat: Specify theme explicitly

This commit is contained in:
Mikael Voss 2024-10-02 23:55:59 +02:00
parent 88d2006ed9
commit f70ec08c51
No known key found for this signature in database

View file

@ -108,7 +108,23 @@ in {
};
};
programs.bat.enable = true;
programs.bat = {
enable = true;
config = {
theme = lib.mkForce "Catppuccin Mocha";
};
themes."Catppuccin Mocha" = {
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "d3feec47b16a8e99eabb34cdfbaa115541d374fc";
hash = "sha256-s0CHTihXlBMCKmbBBb8dUhfgOOQu9PBCQ+uviy7o47w=";
};
file = "themes/Catppuccin Mocha.tmTheme";
};
};
programs.bottom = {
enable = true;