diff --git a/home/bat/default.nix b/home/bat/default.nix index f58bb41..1c8bba5 100644 --- a/home/bat/default.nix +++ b/home/bat/default.nix @@ -1,17 +1,5 @@ -{pkgs, ...}: { +_: { programs.bat = { enable = true; - config = { - theme = "catppuccin-mocha"; - }; - themes = { - catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub { - owner = "catppuccin"; - repo = "bat"; - rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; - sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; - } - + "/Catppuccin-mocha.tmTheme"); - }; }; }