about summary refs log tree commit diff
path: root/nixos/cobalt/services/git-daemon.nix
blob: 21e957ed9e0cb37cdb714e2482769cd421e3a3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  services.gitDaemon = {
    enable = true;
    createUserAndGroup = false;
    basePath = "/var/lib/gitolite/repositories";
  };

  networking.firewall.allowedTCPPorts = [ 9418 ];

  disabledModules = [ "services/networking/git-daemon.nix" ];

  imports = [
    ../modules/git-daemon.nix
  ];
}