3 fqdn = "git.${config.networking.fqdn}";
6 services.nginx.gitweb = {
9 virtualHost = "${fqdn}";
13 networking.hosts."127.0.0.1" = [ "${fqdn}" ];
14 # TODO Check perms see if they are g2g. idk about recursive +x
15 systemd.tmpfiles.rules = [
16 "d '${config.services.gitweb.projectroot}' 0775 ${config.services.nginx.user} git"
17 "Z '${config.services.gitweb.projectroot}' 0775 ${config.services.nginx.user} git"
19 users.groups.git = {};