blob: 3a983c3840dc89051e7400227e3abad36a52cabc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{config, ...}: let
emailAddress = "mastodon@vhack.eu";
in {
services.mastodon = {
enable = true;
localDomain = "mstdn.vhack.eu";
configureNginx = true;
smtp = {
authenticate = true;
createLocally = false;
fromAddress = emailAddress;
user = emailAddress;
host = "server1.vhack.eu";
passwordFile = "${config.age.secrets.mastodonMail.path}";
};
};
}
|