From b946cb6694b35fb85697852117096ee85e6cb34a Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 5 Feb 2023 02:57:56 +0900 Subject: feat(colmena): add git-daemon --- colmena/cobalt/services/git-daemon.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'colmena/cobalt/services/git-daemon.nix') diff --git a/colmena/cobalt/services/git-daemon.nix b/colmena/cobalt/services/git-daemon.nix index 4ba73cf..f0dbad6 100644 --- a/colmena/cobalt/services/git-daemon.nix +++ b/colmena/cobalt/services/git-daemon.nix @@ -1,6 +1,15 @@ { services.gitDaemon = { enable = true; + createUserAndGroup = false; basePath = "/var/lib/gitolite/repositories"; }; + + networking.firewall.allowedTCPPorts = [ 9418 ]; + + disabledModules = [ "services/networking/git-daemon.nix" ]; + + imports = [ + ../modules/git-daemon.nix + ]; } -- cgit 1.4.1