From 66eddc0345bb5a7a53e1cae351e0f3c86cd5dadc Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 9 Jul 2025 20:08:48 -0400 Subject: [PATCH] added catppuccin theme for bat also the default --- home/bat.nix | 17 +++++++++++++++++ home/default.nix | 1 + home/packages/common.nix | 1 - 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 home/bat.nix 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