summary refs log tree commit diff stats
path: root/system/services/mastodon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/services/mastodon/default.nix')
-rw-r--r--system/services/mastodon/default.nix5
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 = {