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" = {