{ config, ... } : let root_host = "grimmauld.de"; mastodon_host = "mastodon.${root_host}"; in { security.acme.certs."${root_host}".extraDomainNames = [ mastodon_host ]; services.mastodon = { enable = true; localDomain = mastodon_host; streamingProcesses = 7; configureNginx = true; smtp = { fromAddress = "noreply@${root_host}"; }; extraConfig.SINGLE_USER_MODE = "true"; }; }