diff --git a/nixos/queen/mail-server.nix b/nixos/queen/mail-server.nix index 9b8abaf..41fd5e3 100644 --- a/nixos/queen/mail-server.nix +++ b/nixos/queen/mail-server.nix @@ -36,6 +36,7 @@ "nextcloud.gladtherescake.eu" "akkoma.gladtherescake.eu" "social.gladtherescake.eu" + "lillianviolet.dev" ]; loginAccounts = { @@ -48,26 +49,6 @@ "no-reply@social.gladtherescake.eu" = { hashedPasswordFile = config.sops.secrets."mailpass".path; }; - }; - - rejectRecipients = [ - "no-reply@nextcloud.gladtherescake.eu" - "no-reply@akkoma.gladtherescake.eu" - "no-reply@social.gladtherescake.eu" - ]; - certificateScheme = "acme-nginx"; - }; - - mailserver = { - enable = true; - enableImap = true; - enableSubmission = true; - fqdn = "mail.lillianviolet.dev"; - domains = [ - "lillianviolet.dev" - ]; - - loginAccounts = { "info@lillianviolet.dev" = { hashedPasswordFile = config.sops.secrets."mailpass".path; aliases = [ @@ -78,6 +59,12 @@ ]; }; }; + + rejectRecipients = [ + "no-reply@nextcloud.gladtherescake.eu" + "no-reply@akkoma.gladtherescake.eu" + "no-reply@social.gladtherescake.eu" + ]; certificateScheme = "acme-nginx"; }; }