diff --git a/machines/compute01/mastodon.nix b/machines/compute01/mastodon.nix index 943381b..f1784fe 100644 --- a/machines/compute01/mastodon.nix +++ b/machines/compute01/mastodon.nix @@ -9,8 +9,13 @@ in localDomain = host; smtp = { - # TODO: smtp setup fromAddress = "social@services.dgnum.eu"; + createLocally = false; + host = "kurisu.lahfa.xyz"; + port = 465; + user = "web-services@infra.dgnum.eu"; + passwordFile = config.age.secrets.mastodon-smtp-password.path; + authenticate = true; }; streamingProcesses = 4; diff --git a/machines/compute01/secrets/mastodon-smtp-password b/machines/compute01/secrets/mastodon-smtp-password new file mode 100644 index 0000000..582c48b Binary files /dev/null and b/machines/compute01/secrets/mastodon-smtp-password differ diff --git a/machines/compute01/secrets/secrets.nix b/machines/compute01/secrets/secrets.nix index 32887c6..1efa278 100644 --- a/machines/compute01/secrets/secrets.nix +++ b/machines/compute01/secrets/secrets.nix @@ -13,6 +13,7 @@ lib.setDefault { inherit publicKeys; } [ "librenms-database_password_file" "librenms-environment_file" "mastodon-extra_env_file" + "mastodon-smtp-password" "nextcloud-adminpass_file" "nextcloud-s3_secret_file" "outline-oidc_client_secret_file"