gitea: port config to nixos-unstable

This commit is contained in:
colin 2022-09-23 06:23:35 -07:00
parent 12308f00f1
commit 554bb5a84f

View File

@ -13,7 +13,7 @@
services.gitea.appName = "Perfectly Sane Git";
services.gitea.domain = "git.uninsane.org";
services.gitea.rootUrl = "https://git.uninsane.org/";
services.gitea.cookieSecure = true;
services.gitea.settings.session.COOKIE_SECURE = true;
# services.gitea.disableRegistration = true;
services.gitea.settings = {
@ -60,7 +60,7 @@
};
};
# options: "Trace", "Debug", "Info", "Warn", "Error", "Critical"
services.gitea.log.level = "Info";
services.gitea.settings.log.LEVEL = "Info";
systemd.services.gitea.serviceConfig = {
# nix default is AF_UNIX AF_INET AF_INET6.