+/config

my dotfiles and nix configuration

git clone https://git.julia.blue/+/config

Julia RyanAdd ntfyead620e

main
976 B43 linesraw
1{ pkgs, lib, ... }: {
2  home.packages = with pkgs; [
3    git-lfs # git-absorb git-branchless
4    git-heatmap git-undeadname git-coauthor (lib.lowPrio git-extras)
5    difftastic mergiraf
6    gh
7    onefetch
8    git-worktree-switcher
9  ];
10
11  programs = {
12    git = { enable = true;
13      includes = [{ path = "~/.config/git/extraConfig"; }];
14
15      settings = {
16        core = {
17          editor = "hx";
18          autocrlf = "input";
19          excludesfile = "~/.config/git/ignore";
20        };
21        submodule.recurse = true;
22        commit.gpgsign = true;
23        gpg.format = "ssh";
24        log.date = "format:%m/%d/%y";
25        branch.autosetuprebase = "always";
26        http.cookiefile = "~/.config/git/cookies";
27        init.defaultBranch = "main";
28      };
29    };
30
31    delta = { enable = true;
32      enableGitIntegration = true;
33      options = {
34        line-numbers = false;
35        navigate = true;
36      };
37    };
38
39    jujutsu = {
40      enable = true;
41    };
42  };
43}