feat(ops/sanduny): run cgit instance

Change-Id: Id869fa46d74f215a9034e86f795a4cd9e93acb16
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5930
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-07-11 10:56:21 +00:00 committed by tazjin
parent ab0cca019b
commit 4c25c29505

View file

@ -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