diff options
-rw-r--r-- | nix/hosts/corrino/www/cgit.emile.space.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/cgit.emile.space.nix b/nix/hosts/corrino/www/cgit.emile.space.nix index 55c86b3..8cf0822 100644 --- a/nix/hosts/corrino/www/cgit.emile.space.nix +++ b/nix/hosts/corrino/www/cgit.emile.space.nix @@ -535,6 +535,23 @@ $RC{GIT_CONFIG_KEYS} = '.*'; ''; }; + + # exposing stuff + gitDaemon = { + enable = true; + + user = "git"; + group = "git"; + + repositories = []; # use all repos under basePath + exportAll = true; + basePath = "/var/lib/git/repositories"; + + listenAddress = "git.emile.space"; + port = 9418; + + options = "--timeout=30"; # extra Config + }; }; users.extraUsers.nginx.extraGroups = [ "git" ]; |