diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-21T23·40-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-23T22·09+0000 |
commit | 7101cc5375a15f73966e0ea7ba596cf222cc2947 (patch) | |
tree | b56dd75da102ec11b4d51608af03236a69ae4246 /ops/nixos/whitby | |
parent | 974c2e05af96ca2681239e41b1281cdb0d22347f (diff) |
feat(ops/nixos): Deploy Panettone to Whitby r/1439
Deploy Panettone to whitby as a systemd service, proxied to from an nginx virtual host listening at b.tvl.fyi Change-Id: I69755566151a45120e6b3453751af0e9291fa241 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1339 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos/whitby')
-rw-r--r-- | ops/nixos/whitby/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix index da6621515eaf..bea37d255a97 100644 --- a/ops/nixos/whitby/default.nix +++ b/ops/nixos/whitby/default.nix @@ -18,6 +18,7 @@ in lib.fix(self: { "${depot.depotPath}/ops/nixos/clbot.nix" "${depot.depotPath}/ops/nixos/depot.nix" "${depot.depotPath}/ops/nixos/monorepo-gerrit.nix" + "${depot.depotPath}/ops/nixos/panettone.nix" "${depot.depotPath}/ops/nixos/smtprelay.nix" "${depot.depotPath}/ops/nixos/sourcegraph.nix" "${depot.depotPath}/ops/nixos/tvl-slapd/default.nix" @@ -28,6 +29,7 @@ in lib.fix(self: { "${depot.depotPath}/ops/nixos/www/login.tvl.fyi.nix" "${depot.depotPath}/ops/nixos/www/todo.tvl.fyi.nix" "${depot.depotPath}/ops/nixos/www/tvl.fyi.nix" + "${depot.depotPath}/ops/nixos/www/b.tvl.fyi.nix" "${depot.third_party.nixpkgsSrc}/nixos/modules/services/web-apps/gerrit.nix" ]; @@ -210,8 +212,13 @@ in lib.fix(self: { }; }; - # Run a SourceGraph code search instance - services.depot.sourcegraph.enable = true; + services.depot = { + # Run a SourceGraph code search instance + sourcegraph.enable = true; + + # Run the Panettone issue tracker + panettone.enable = true; + }; environment.systemPackages = with nixpkgs; [ bb |