summary refs log tree commit diff
path: root/modules/home/development-server.nix
blob: 47b8555acbd45b859a03a8e1286034e111e131d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ ... }:

{
  imports = [
    ../foundation/home

    ./shell.nix
  ];

  programs = {
    git = {
      enable = true;
      userName = "Mel";
      userEmail = "mel@rnrd.eu";
      signing = {
        key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B";
        signByDefault = true;
      };
      ignores = [
        # ignore most vim swap-files
        "*~"
        "[._]*.sw?"
      ];
      extraConfig.init.defaultBranch = "main";
    };

    direnv = {
      enable = true;
      nix-direnv.enable = true;
    };
  };
}