this repo has no description
1{
2 programs.git = {
3 enable = true;
4 ignores = ["*~" "*.swp"];
5 settings = {
6 user.name = "Pedro Correa";
7 commit = {
8 template = "~/.config/git/message";
9 verbose = true;
10 };
11 rerere = {
12 enable = true;
13 autoUpdate = true;
14 };
15 column.ui = "auto";
16 branch.sort = "-committerdate";
17 tag.sort = "version:refname";
18 init.defaultBranch = "main";
19 merge.conflictstyle = "zdiff3";
20 diff = {
21 algorithm = "histogram";
22 colorMoved = "plain";
23 mnemonicPrefix = true;
24 renames = true;
25 };
26 push = {
27 autoSetupRemote = true;
28 followTags = true;
29 };
30 fetch = {
31 prune = true;
32 pruneTags = true;
33 all = true;
34 };
35 alias = {
36 tree = "log --graph --oneline";
37 };
38 };
39 };
40
41 programs.jujutsu = {
42 enable = true;
43 settings.ui = {
44 default-command = "log";
45 pager = "delta";
46 diff-formatter = ":git";
47 };
48 };
49
50 programs.delta = {
51 enable = true;
52 enableGitIntegration = true;
53 options = {
54 navigate = true;
55 };
56 };
57
58 home.file.".config/git/message".source = ./message;
59}