From 4c25c29505aaf977e2a64b92bc023a1557da39d5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 11 Jul 2022 10:56:21 +0000 Subject: feat(ops/sanduny): run cgit instance Change-Id: Id869fa46d74f215a9034e86f795a4cd9e93acb16 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5930 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/machines/sanduny/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix index 23d77e9474..886a3a1be7 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 -- cgit 1.4.1