diff --git a/home/bat.nix b/home/bat.nix new file mode 100644 index 0000000..dacf8b6 --- /dev/null +++ b/home/bat.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: { + programs.bat = { + enable = true; + config.theme = "catppuccin"; + + themes.catppuccin = { + src = pkgs.fetchFromGitHub { + owner = "catppuccin"; + repo = "bat"; + rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; + hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; + }; + + file = "/Catppuccin-mocha.tmTheme"; + }; + }; +} diff --git a/home/default.nix b/home/default.nix index 18a9906..c463789 100644 --- a/home/default.nix +++ b/home/default.nix @@ -26,6 +26,7 @@ in { ./terminal.nix ./browser.nix ./zellij.nix + ./bat.nix ]; # Home Manager needs a bit of information about you and the diff --git a/home/packages/common.nix b/home/packages/common.nix index bd2de2a..03034f2 100644 --- a/home/packages/common.nix +++ b/home/packages/common.nix @@ -14,7 +14,6 @@ # utils tmux - bat lazygit bottom ripgrep