This commit is contained in:
2025-09-25 23:21:25 +03:00
parent 94eea2d425
commit ce10a8595d
2 changed files with 6 additions and 8 deletions

View File

@@ -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;