fix(home-manager): match refactors in bat source (#91)

This commit is contained in:
Ryan Cao 2024-03-17 16:16:41 +08:00 committed by GitHub
parent d4c0e280e4
commit 03b95cad3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
let
cfg = config.programs.bat.catppuccin;
enable = cfg.enable && config.programs.bat.enable;
themeName = "Catppuccin-${cfg.flavour}";
themeName = "Catppuccin ${lib.ctp.mkUpper cfg.flavour}";
in
{
options.programs.bat.catppuccin =
@ -18,7 +18,7 @@ in
themes.${themeName} = {
src = sources.bat;
file = "${themeName}.tmTheme";
file = "themes/${themeName}.tmTheme";
};
};
};