nixos/gitea/mailer: update example configuration

Updated the email configuration example, as the previous example
did not work.

authored by Izorkin and committed by Alyssa Ross 5b0ed1ea f5c5dc5f

+5 -3
+5 -3
nixos/modules/services/misc/gitea.nix
··· 411 411 }; 412 412 mailer = { 413 413 ENABLED = true; 414 - MAILER_TYPE = "sendmail"; 415 - FROM = "do-not-reply@example.org"; 416 - SENDMAIL_PATH = "''${pkgs.system-sendmail}/bin/sendmail"; 414 + PROTOCOL = "smtp+starttls"; 415 + SMTP_ADDR = "smtp.example.org"; 416 + SMTP_PORT = "587"; 417 + FROM = "Gitea Service <do-not-reply@example.org>"; 418 + USER = "do-not-reply@example.org"; 417 419 }; 418 420 other = { 419 421 SHOW_FOOTER_VERSION = false;