refactor gitea.nix: update domain and rootUrl keys for consistency

This commit is contained in:
Danilo Reyes 2025-09-27 22:47:36 -06:00
parent 2ac20c519c
commit de80ff655b

View File

@ -19,8 +19,8 @@ in
sops.secrets = lib.mkIf cfg.enable { gitea.sopsFile = ../../secrets/env.yaml; };
services.gitea = lib.mkIf cfg.enable {
enable = true;
DOMAIN = cfg.host;
ROOT_URL = cfg.url;
domain = cfg.host;
rootUrl = cfg.url;
settings = {
session.COOKIE_SECURE = true;
server.HTTP_PORT = cfg.port;