about summary refs log tree commit diff
path: root/ops/machines/sanduny
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-12-24T22·58+0300
committertazjin <tazjin@tvl.su>2022-12-27T19·46+0000
commitd4461434136278f562adec5055ea8d606a1f6d68 (patch)
treef5014b4382e46f8890771b6ffd01fcebe57a18b5 /ops/machines/sanduny
parenta25c60361e290012d5e81d0f8b3911bf494a4ae0 (diff)
feat(ops/modules): set up public-inbox at inbox.tvl.su r/5503
Initial setup which does not yet include fetching mails at all, this
is for now only going to display a manually populated view of the
existing mailing list while the rest of this stuff is set up.

Change-Id: Ie1235bd257c9056fe37d0740dfca771ebdd880eb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7628
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/machines/sanduny')
-rw-r--r--ops/machines/sanduny/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/ops/machines/sanduny/default.nix b/ops/machines/sanduny/default.nix
index 886a3a1be72d..4db6311ceb6b 100644
--- a/ops/machines/sanduny/default.nix
+++ b/ops/machines/sanduny/default.nix
@@ -15,11 +15,13 @@ in
 {
   imports = [
     (mod "cgit.nix")
+    (mod "depot-inbox.nix")
     (mod "depot-replica.nix")
     (mod "journaldriver.nix")
     (mod "known-hosts.nix")
     (mod "tvl-cache.nix")
     (mod "tvl-users.nix")
+    (mod "www/inbox.tvl.su.nix")
     (mod "www/self-redirect.nix")
   ];
 
@@ -87,6 +89,9 @@ in
     repo = "/var/lib/depot";
   };
 
+  # Serve public-inbox ...
+  services.depot.inbox.enable = true;
+
   time.timeZone = "UTC";
 
   # GRUB does not actually need to be installed on disk; Bitfolk have