added webPort, enableUnixSocket attr

This commit is contained in:
2026-02-28 23:54:07 -05:00
parent 6bdff15117
commit 807d099a70

View File

@@ -126,11 +126,14 @@ in {
services.mastodon = { services.mastodon = {
enable = true; enable = true;
localDomain = mastodonFqdn; localDomain = mastodonFqdn;
webPort = 3000;
enableUnixSocket = false;
configureNginx = false; configureNginx = false;
secretKeyBaseFile = "${mastodonSecretsDir}/secret_key_base"; secretKeyBaseFile = "${mastodonSecretsDir}/secret_key_base";
otpSecretFile = "${mastodonSecretsDir}/otp_secret"; # otpSecretFile = "${mastodonSecretsDir}/otp_secret";
vapidPrivateKeyFile = "${mastodonSecretsDir}/vapid_private_key"; vapidPrivateKeyFile = "${mastodonSecretsDir}/vapid_private_key";
vapidPublicKeyFile = "${mastodonSecretsDir}/vapid_public_key"; vapidPublicKeyFile = "${mastodonSecretsDir}/vapid_public_key";
streamingProcesses = 3;
# Configure SMTP after initial deploy via mastodonSecretsDir or a separate # Configure SMTP after initial deploy via mastodonSecretsDir or a separate
# NixOS secrets manager (sops-nix / agenix). # NixOS secrets manager (sops-nix / agenix).
smtp = { smtp = {