diff options
author | Vincent Ambo <mail@tazj.in> | 2022-07-11T10·56+0000 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-07-12T08·49+0000 |
commit | 4c25c29505aaf977e2a64b92bc023a1557da39d5 (patch) | |
tree | 7e84cc9736eeeb86683f3f24c360d2c7b8d472a4 /ops/machines/sanduny | |
parent | ab0cca019bd574b396cf2ccc9ca6a5531bd87856 (diff) |
feat(ops/sanduny): run cgit instance r/4293
Change-Id: Id869fa46d74f215a9034e86f795a4cd9e93acb16 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5930 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/machines/sanduny')
-rw-r--r-- | ops/machines/sanduny/default.nix | 7 |
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 |