diff options
Diffstat (limited to 'nix/modules/git-daemon.nix')
-rw-r--r-- | nix/modules/git-daemon.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/modules/git-daemon.nix b/nix/modules/git-daemon.nix new file mode 100644 index 0000000..e71356e --- /dev/null +++ b/nix/modules/git-daemon.nix @@ -0,0 +1,9 @@ +{ config, lib, ... }: +{ + services.gitDaemon = { + enable = lib.mkDefault config.monorepo.profiles.server.enable; + exportAll = true; + listenAddress = "0.0.0.0"; + basePath = "/srv/git"; + }; +} |