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; sops.secrets.gitea.sopsFile = ../../secrets/env.yaml;
services.gitea = { services.gitea = {
inherit (cfg) enable; inherit (cfg) enable;
domain = cfg.host;
rootUrl = cfg.url;
settings = { settings = {
session.COOKIE_SECURE = true; session.COOKIE_SECURE = true;
server.HTTP_PORT = cfg.port; server = {
DOMAIN = cfg.host;
ROOT_URL = cfg.url;
HTTP_PORT = cfg.port;
};
mailer = { mailer = {
ENABLED = true; ENABLED = true;
PROTOCOL = "sendmail"; PROTOCOL = "sendmail";