summaryrefslogtreecommitdiff
path: root/com/simatime/git.nix
blob: 51e46b69b4bbea274c1d2a54025f84004f305f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:

{
  services = {
    gitolite = {
      enable = true;
      enableGitAnnex = true;
      # TODO: change this to /var/lib/gitolite?
      dataDir = "/srv/git";
      user = "git";
      group = "git";
      extraGitoliteRc = ''
        $RC{SITE_INFO} = 'a computer is a bicycle for the mind.';
      '';
      adminPubkey = builtins.readFile ./keys/ben.pub;
    };
  };
}