diff --git a/module.nix b/module.nix index d8dddcf..bfd7f61 100644 --- a/module.nix +++ b/module.nix @@ -103,11 +103,12 @@ in # }; # mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = { # mailserver.loginAccounts."mastodon@${sp.domain}" = { - # sp.email."noreply@${cfg.subdomain}.${sp.domain}" = { - # hashedPasswordFile = "/run/postfix/mastodon.cf"; - # systemTargets = [ "mastodon-email-password-setup.service" ]; - # sendOnly = true; - # }; + selfprivacy.email."noreply@${cfg.subdomain}.${sp.domain}" = { + domain = "${cfg.subdomain}.${sp.domain}"; + hashedPasswordFile = "/run/postfix/mastodon.cf"; + systemTargets = [ "mastodon-email-password-setup.service" ]; + sendOnly = true; + }; systemd = { services.mastodon-email-password-setup = {