diff options
author | sils <sils@sils.li> | 2023-10-12 21:39:35 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-10-12 21:39:35 +0200 |
commit | bd824945407c1db99d35e1b56fc19ef08abd6c36 (patch) | |
tree | 23c6e6c2c2f684e94ae370e9f684c07f2edf5c48 | |
parent | fix(system/services/mastodon): separate domains for user handles and webinter... (diff) | |
download | nixos-server-bd824945407c1db99d35e1b56fc19ef08abd6c36.tar.gz nixos-server-bd824945407c1db99d35e1b56fc19ef08abd6c36.zip |
fix(system/services/mastodon): allow registration only with vhack.eu/sils.li mail
-rw-r--r-- | system/services/mastodon/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 = { |