{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}"; }; }; }