about summary refs log tree commit diff
path: root/colmena
diff options
context:
space:
mode:
Diffstat (limited to 'colmena')
-rw-r--r--colmena/cobalt/configuration.nix1
-rw-r--r--colmena/cobalt/services/git-daemon.nix6
2 files changed, 7 insertions, 0 deletions
diff --git a/colmena/cobalt/configuration.nix b/colmena/cobalt/configuration.nix
index 7caac5e..c596536 100644
--- a/colmena/cobalt/configuration.nix
+++ b/colmena/cobalt/configuration.nix
@@ -30,6 +30,7 @@ in
       ./services/fail2ban.nix
       ./services/soju.nix
       ./services/gitolite.nix
+      ./services/git-daemon.nix
       ./services/cgit.nix
     ];
 
diff --git a/colmena/cobalt/services/git-daemon.nix b/colmena/cobalt/services/git-daemon.nix
new file mode 100644
index 0000000..4ba73cf
--- /dev/null
+++ b/colmena/cobalt/services/git-daemon.nix
@@ -0,0 +1,6 @@
+{
+  services.gitDaemon = {
+      enable = true;
+      basePath = "/var/lib/gitolite/repositories";
+  };
+}