home/bat: Specify theme explicitly

This commit is contained in:
Mikael 2024-10-02 23:55:59 +02:00
parent 88d2006ed9
commit f70ec08c51
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

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;