mastodon: configure noreply email

This commit is contained in:
Leonardo Eugênio 2024-05-11 18:32:05 -03:00
parent e4745d445d
commit 418a142f15
4 changed files with 30 additions and 1 deletions

View file

@ -3,9 +3,21 @@
enable = true;
configureNginx = true;
localDomain = "social.lelgenio.com";
smtp.fromAddress = "lelgenio@disroot.org";
smtp = {
authenticate = true;
host = "lelgenio.com";
fromAddress = "noreply@social.lelgenio.com";
user = "noreply@social.lelgenio.com";
passwordFile = config.age.secrets.phantom-mastodon-mailer-password.path;
};
streamingProcesses = 2;
extraConfig.SINGLE_USER_MODE = "true";
mediaAutoRemove.olderThanDays = 10;
};
age.secrets.phantom-mastodon-mailer-password = {
file = ../../secrets/phantom-mastodon-mailer-password.age;
mode = "400";
owner = "mastodon";
};
}