From 788fbd489c3598b66410d73c9df8936a9275de87 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Thu, 16 May 2024 03:28:51 +0300 Subject: [PATCH] vps1: git: enable mailer --- hosts/vps1/services/git.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/vps1/services/git.nix b/hosts/vps1/services/git.nix index 315f7e9..adf5bff 100644 --- a/hosts/vps1/services/git.nix +++ b/hosts/vps1/services/git.nix @@ -75,7 +75,11 @@ in ENABLED = false; }; mailer = { - ENABLED = false; + ENABLED = true; + MAILER_TYPE = "sendmail"; + FROM = "forgejo+%{token}@${domain}"; + SENDMAIL_PATH = "/run/wrappers/bin/sendmail"; + SENDMAIL_ARGS = "--"; }; }; };