pkgs: { enable = true; extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ]; config = { theme = "catppuccin-macchiato"; }; themes = { catppuccin-macchiato = builtins.readFile (pkgs.fetchFromGitHub { owner = "catppuccin"; repo = "sublime-text"; # Bat uses sublime syntax for its themes rev = "3d8625d937d89869476e94bc100192aa220ce44a"; sha256 = "3ABUsfJpb6RO6AiuuSL5gwDofJIwC5tlEMzBrlY9/s0="; } + "/Macchiato.tmTheme"); }; }