From bd824945407c1db99d35e1b56fc19ef08abd6c36 Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 12 Oct 2023 21:39:35 +0200 Subject: fix(system/services/mastodon): allow registration only with vhack.eu/sils.li mail --- system/services/mastodon/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/services/mastodon/default.nix b/system/services/mastodon/default.nix index 96c2744..5007d0e 100644 --- a/system/services/mastodon/default.nix +++ b/system/services/mastodon/default.nix @@ -12,7 +12,10 @@ in { host = "server1.vhack.eu"; passwordFile = "${config.age.secrets.mastodonMail.path}"; }; - extraConfig.WEB_DOMAIN = "mastodon.vhack.eu"; + extraConfig = { + WEB_DOMAIN = "mastodon.vhack.eu"; + EMAIL_DOMAIN_ALLOWLIST = "vhack.eu|sils.li"; + }; }; services.nginx = { -- cgit 1.4.1