fix: don’t enable bat

This commit is contained in:
Sam Nystrom 2023-03-28 22:10:47 -04:00 committed by GitHub
parent 13e5ba5020
commit 8c3f98e64c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,6 @@ let cfg = config.programs.bat.catppuccin; in
home.activation.batCache = "${pkgs.bat}/bin/bat cache --build"; home.activation.batCache = "${pkgs.bat}/bin/bat cache --build";
programs.bat = lib.mkIf cfg.enable { programs.bat = lib.mkIf cfg.enable {
enable = true;
config.theme = "Catppuccin-${cfg.flavour}"; config.theme = "Catppuccin-${cfg.flavour}";
themes."Catppuccin-${cfg.flavour}" = builtins.readFile (pkgs.fetchFromGitHub themes."Catppuccin-${cfg.flavour}" = builtins.readFile (pkgs.fetchFromGitHub
{ {