From: Ismaƫl Bouya Date: Thu, 3 Jan 2019 15:15:19 +0000 (+0100) Subject: Add git daemon service X-Git-Tag: nur_publish~373 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7611e4e2ace4355ec4397a675883890927a13c7c;hp=cf80b4f24e96e7d6e40845ac1fe206fc67a20b12;p=perso%2FImmae%2FConfig%2FNix.git Add git daemon service --- diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index c8536c6..f70c92c 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix @@ -12,7 +12,7 @@ networking = { firewall = { enable = true; - allowedTCPPorts = [ 22 80 443 3306 5432 ]; + allowedTCPPorts = [ 22 80 443 3306 5432 9418 ]; }; }; @@ -185,6 +185,13 @@ source = ldap_authorized_keys; }; + services.gitDaemon = { + enable = true; + user = "gitolite"; + group = "gitolite"; + basePath = "${mypkgs.git.web.varDir}/repositories"; + }; + services.httpd = let withSSL = domain: { enableSSL = true;