diff --git a/hosts/phantom/email.nix b/hosts/phantom/email.nix index 6c637be..b431807 100644 --- a/hosts/phantom/email.nix +++ b/hosts/phantom/email.nix @@ -31,6 +31,9 @@ "noreply@git.lelgenio.com" = { hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0."; }; + "noreply@social.lelgenio.com" = { + hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0."; + }; }; }; diff --git a/hosts/phantom/mastodon.nix b/hosts/phantom/mastodon.nix index 3deaee5..cf85b07 100644 --- a/hosts/phantom/mastodon.nix +++ b/hosts/phantom/mastodon.nix @@ -3,7 +3,13 @@ enable = true; configureNginx = true; localDomain = "social.lelgenio.com"; - smtp.fromAddress = "lelgenio@disroot.org"; + smtp = { + authenticate = true; + host = "lelgenio.com"; + fromAddress = "noreply@social.lelgenio.com"; + user = "noreply@social.lelgenio.com"; + passwordFile = config.age.secrets.phantom-forgejo-mailer-password.path; + }; streamingProcesses = 2; extraConfig.SINGLE_USER_MODE = "true"; mediaAutoRemove.olderThanDays = 10;