aboutsummaryrefslogtreecommitdiff
path: root/common/.flake/home/programs/git.nix.org
blob: 824f5e1a78f550b2361584a7bef50e4824f56b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#+title: Git Configuration

Specify my name and email for =git=. Also enable =delta= and =pull.rebase=.
#+begin_src nix
{ config, pkgs, ... }:

{
  programs.git = {
    enable = true;
    userName = "Jacob Janzen";
    userEmail = "jacob.a.s.janzen@gmail.com";
    delta.enable = true;
    extraConfig = {
      pull.rebase = true;
    };
  };
}
#+end_src