From 3be2c7e6b4acfc6bf391df72ac4d820fda6de0f8 Mon Sep 17 00:00:00 2001 From: kat witch Date: Fri, 26 Mar 2021 21:36:45 +0000 Subject: [PATCH] services/gitea: Added proper settings, allowing git hooks --- services/gitea.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/services/gitea.nix b/services/gitea.nix index 90ed5956..5fb1a4dc 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -7,6 +7,17 @@ domain = "git.kittywit.ch"; rootUrl = "https://git.kittywit.ch"; httpAddress = "127.0.0.1"; + settings = { + security = { + DISABLE_GIT_HOOKS = false; + }; + mailer = { + ENABLED = true; + MAILER_TYPE = "sendmail"; + FROM = "gitea@kittywit.ch"; + SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail"; + }; + }; }; services.nginx.virtualHosts."git.kittywit.ch" = {