From bcf8b365c8f82251bebbbb7e3509166281ab103a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 24 Aug 2023 23:19:06 +0300 Subject: [PATCH] gitea: enable email --- hosts/hel1-a/configuration.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/hosts/hel1-a/configuration.nix b/hosts/hel1-a/configuration.nix index 848423f..ed0ae8b 100644 --- a/hosts/hel1-a/configuration.nix +++ b/hosts/hel1-a/configuration.nix @@ -192,16 +192,14 @@ SHOW_MILESTONES_DASHBOARD_PAGE = false; COOKIE_SECURE = true; }; - log.LEVEL = "Error"; - # TODO: does not work with 1.7.4, getting error - # in the UI when testing the email sending workflow. - #mailer = { - # ENABLED = true; - # MAILER_TYPE = "sendmail"; - # FROM = ""; - # SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail"; - #}; "service.explore".DISABLE_USERS_PAGE = true; + log.LEVEL = "Error"; + mailer = { + ENABLED = true; + MAILER_TYPE = "sendmail"; + FROM = ""; + SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail"; + }; }; };