about summary refs log tree commit diff
path: root/colmena/cobalt/services/git-daemon.nix
diff options
context:
space:
mode:
Diffstat (limited to 'colmena/cobalt/services/git-daemon.nix')
-rw-r--r--colmena/cobalt/services/git-daemon.nix9
1 files changed, 9 insertions, 0 deletions
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
+  ];
 }