MyNixOS website logo
option

services.gitDaemon.repositories

A whitelist of paths of git repositories, or directories containing repositories all of which would be published. Paths must not end in "/".

Warning: leaving this empty and enabling exportAll publishes all repositories in your filesystem or basePath if specified.

Declarations
Type
list of string
Default
[ ]
Example
[
  "/srv/git"
  "/home/user/git/repo2"
]