about summary refs log tree commit diff
path: root/ops/machines/sanduny
diff options
context:
space:
mode:
Diffstat (limited to 'ops/machines/sanduny')
-rw-r--r--ops/machines/sanduny/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix
index 23d77e947453..886a3a1be72d 100644
--- a/ops/machines/sanduny/default.nix
+++ b/ops/machines/sanduny/default.nix
@@ -14,6 +14,7 @@ let
 in
 {
   imports = [
+    (mod "cgit.nix")
     (mod "depot-replica.nix")
     (mod "journaldriver.nix")
     (mod "known-hosts.nix")
@@ -80,6 +81,12 @@ in
   # Allow Gerrit to replicate depot to /var/lib/depot
   services.depot.replica.enable = true;
 
+  # Run git serving tools locally ...
+  services.depot.cgit = {
+    enable = true;
+    repo = "/var/lib/depot";
+  };
+
   time.timeZone = "UTC";
 
   # GRUB does not actually need to be installed on disk; Bitfolk have