services.gitDaemon.repositories

NixOS option

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.

type: list of string
Default
[ ]
Example
[
  "/srv/git"
  "/home/user/git/repo2"
]
declared in: nixos/modules/services/networking/git-daemon.nixView source on NixOS/nixpkgs →