summaryrefslogtreecommitdiff
path: root/use-cases/development/git.nix
blob: 8df44db28792a2cb4facc5822e1f41fdb800a223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ ... }:

{
  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";
    gap = "git add --patch";
  };
}