34 lines
674 B
Nix
34 lines
674 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
catppuccinDelta = pkgs.fetchFromGitHub {
|
|
owner = "catppuccin";
|
|
repo = "delta";
|
|
rev = "main";
|
|
hash = "sha256-0QQLkfLBVuB2re6tjtPNuOQZNK0MDBAIFgNGHZM8afs=";
|
|
};
|
|
in
|
|
|
|
{
|
|
home-manager.users.toast = {
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Toast";
|
|
userEmail = "toast003@tutamail.com";
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
syntax-theme = "catppuccin-mocha";
|
|
features = "catppuccin-mocha";
|
|
};
|
|
};
|
|
includes = [{ path = "${catppuccinDelta}/themes/mocha.gitconfig"; }];
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
diff.colorMoved = "default";
|
|
commit.verbose = "true";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|