gitea settings migration

This commit is contained in:
Danilo Reyes 2025-09-28 11:39:57 -06:00
parent b993d1c68d
commit f9da9f892c

View File

@ -18,11 +18,13 @@ in
sops.secrets.gitea.sopsFile = ../../secrets/env.yaml;
services.gitea = {
inherit (cfg) enable;
domain = cfg.host;
rootUrl = cfg.url;
settings = {
session.COOKIE_SECURE = true;
server.HTTP_PORT = cfg.port;
server = {
DOMAIN = cfg.host;
ROOT_URL = cfg.url;
HTTP_PORT = cfg.port;
};
mailer = {
ENABLED = true;
PROTOCOL = "sendmail";