about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-05 02:29:19 +0900
committersefidel <contact@sefidel.net>2023-02-05 02:29:19 +0900
commita003ff6e583ac4d9c650a43e5ad51fa32b95b1fe (patch)
tree49f338c4cc8931db31a9b22ef56fa1f4f485b94f
parentb90c4685335246ffb4fef6fd6caaf4e12dfd0e17 (diff)
downloadnixrc-a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe.tar.gz
nixrc-a003ff6e583ac4d9c650a43e5ad51fa32b95b1fe.zip
feat(colmena/services): git-daemon: init
-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";
+  };
+}