diff options
author | Vincent Ambo <mail@tazj.in> | 2022-12-25T17·15+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-12-29T20·11+0000 |
commit | d62c7ddfda68f31857a8c8c6cc02a30b3743a4c4 (patch) | |
tree | 3bb5f6a5fcaa31d4a460ac0fb980865335274740 /ops/modules/depot-inbox.nix | |
parent | 45fa75c0cd48d1fc6048af182cc2e9b91cbf918c (diff) |
feat(ops/modules): enable mail address obfuscation in public web UI r/5547
Change-Id: I47b5313bee84893d405f86aefb3682cda3cfc6d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7637 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to '')
-rw-r--r-- | ops/modules/depot-inbox.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ops/modules/depot-inbox.nix b/ops/modules/depot-inbox.nix index f6a7089f216d..6110e47250cc 100644 --- a/ops/modules/depot-inbox.nix +++ b/ops/modules/depot-inbox.nix @@ -101,9 +101,17 @@ in cgitUrl = "https://code.tvl.fyi"; }; - settings.publicinbox.wwwlisting = "all"; - settings.publicinbox.nntpserver = [ "inbox.tvl.su" ]; - settings.publicinbox.imapserver = "inbox.tvl.su"; + settings.publicinbox = { + wwwlisting = "all"; + nntpserver = [ "inbox.tvl.su" ]; + imapserver = "inbox.tvl.su"; + + depot.obfuscate = true; + noObfuscate = [ + "tvl.su" + "tvl.fyi" + ]; + }; }; networking.firewall.allowedTCPPorts = [ |