diff --git a/roles/common/programs/bat.nix b/roles/common/programs/bat.nix index dd8020b..2075753 100644 --- a/roles/common/programs/bat.nix +++ b/roles/common/programs/bat.nix @@ -1,9 +1,23 @@ -{ config, ... }: +{ config, pkgs, ... }: { home-manager = { users.toast.programs.bat = { enable = true; + config = { + theme = "catppuccin-mocha"; + }; + themes = { + catppuccin-mocha = { + src = pkgs.fetchFromGitHub { + owner = "catppuccin"; + repo = "bat"; + rev = "master"; + hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; + }; + file = "Catppuccin-mocha.tmTheme"; + }; + }; }; }; } diff --git a/roles/common/programs/default.nix b/roles/common/programs/default.nix index 0cf10fd..c6ab698 100755 --- a/roles/common/programs/default.nix +++ b/roles/common/programs/default.nix @@ -11,7 +11,7 @@ ./bash.nix ./git.nix ./starship.nix - ,/bat.nix + ./bat.nix ]; # Some programs dont have a programs.*.enable option, so I install their package here environment.systemPackages = with pkgs; [