services/gitea: Added proper settings, allowing git hooks

This commit is contained in:
kat witch 2021-03-26 21:36:45 +00:00
parent 39cfa9c1b8
commit 3be2c7e6b4
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

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