fix
This commit is contained in:
@@ -96,8 +96,8 @@ in
|
||||
smtp = {
|
||||
createLocally = false;
|
||||
|
||||
fromAddress = "mastodon@${sp.domain}";
|
||||
user = "mastodon";
|
||||
fromAddress = "noreply.mastodon@${sp.domain}";
|
||||
user = "noreply.mastodon";
|
||||
passwordFile = secrets.passwordFile;
|
||||
authenticate = true;
|
||||
|
||||
@@ -117,7 +117,8 @@ in
|
||||
users.users.mastodon.isSystemUser = lib.mkForce false;
|
||||
users.users.mastodon.isNormalUser = lib.mkForce true;
|
||||
|
||||
selfprivacy.emails."mastodon" = {
|
||||
users.users."noreply.mastodon".isNormalUser = true;
|
||||
selfprivacy.emails."noreply.mastodon" = {
|
||||
hashedPasswordFile = secrets.hashedPasswordFile;
|
||||
systemdTargets = [ "mastodon-email-password-setup.service" ];
|
||||
sendOnly = true;
|
||||
|
Reference in New Issue
Block a user