summaryrefslogtreecommitdiff
path: root/home/config/git.nix
blob: 6515e97d8f81ce1d402fc206fc21257828fcbe7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, ... }:

{
  programs.git = {
    enable = true;

    userName = "Quentin Aristote";
    userEmail = "quentin@aristote.fr";

    ignores = (builtins.map builtins.readFile
      (with pkgs.personal.gitignore; [ emacs linux direnv ])) ++ [
        ### Personal rules ###
        "shell.nix"
        ".nix-gc-roots"
      ];
  };
}