summaryrefslogtreecommitdiff
path: root/Biz/Cloud/Git.nix
blob: 82761cef9b8c0523bceb1b2e5bd3df5ce4c83591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs, ... }:

{
  services = {
    gitolite = {
      enable = true;
      enableGitAnnex = true;
      dataDir = "/srv/git";
      user = "git";
      group = "git";
      extraGitoliteRc = ''
        $RC{SITE_INFO} = 'a computer is a bicycle for the mind.';
      '';
      adminPubkey = builtins.readFile ../Keys/Ben.key;
    };
  };
}