summaryrefslogtreecommitdiff
path: root/home/git/default.nix
blob: 4199ebc50de4fd7ffc8a340c5692b4ac0d803372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ ... }:

{
  programs.git = {
    enable = true;

    # Set privacy-respecting user information.
    userName = "Linnnus";
    userEmail = "[email protected]";
  };

  home.shellAliases = {
    gs = "git status";
    gd = "git diff";
    gc = "git commit";
    ga = "git add";
    gan = "git add -N";
    gap = "git add --patch";
  };
}