Common/git: use delta catppuccin module

This commit is contained in:
Toast 2024-04-09 16:32:23 +02:00 committed by Toast
parent cd48978f98
commit 8062c8ad5a

View file

@ -1,11 +1,4 @@
{pkgs, ...}: let
catppuccinDelta = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "delta";
rev = "main";
hash = "sha256-0QQLkfLBVuB2re6tjtPNuOQZNK0MDBAIFgNGHZM8afs=";
};
in {
{...}: {
home-manager.users.toast = {
programs.git = {
enable = true;
@ -13,12 +6,8 @@ in {
userEmail = "toast003@tutamail.com";
delta = {
enable = true;
options = {
syntax-theme = "catppuccin-mocha";
features = "catppuccin-mocha";
};
catppuccin.enable = true;
};
includes = [{path = "${catppuccinDelta}/themes/mocha.gitconfig";}];
extraConfig = {
init.defaultBranch = "main";
diff.colorMoved = "default";