diff options
author | Emile <git@emile.space> | 2024-06-09 00:25:38 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-06-09 00:25:38 +0200 |
commit | 5a0e9bc57f578da2dd8578220acfd18c7484ec00 (patch) | |
tree | f11049d4a2f065b5dee1ccf44498797a06b58c85 /nix/hosts | |
parent | dd48fc33f55f56590c627786d5ed07ad24474c0d (diff) |
git daemon
Diffstat (limited to 'nix/hosts')
-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" ]; |