diff --git a/utils/modules/gitea.nix b/utils/modules/gitea.nix index e53dc69..b01dfbc 100644 --- a/utils/modules/gitea.nix +++ b/utils/modules/gitea.nix @@ -14,10 +14,12 @@ in services.gitea = { enable = true; appName = "Cloonar Gitea server"; # Give the site a name - domain = domain; - rootUrl = "https://${domain}/"; - httpPort = 3001; settings = { + server = { + ROOT_URL = "https://${domain}/"; + HTTP_PORT = 3001; + DOMAIN = domain; + }; service.DISABLE_REGISTRATION = true; webhook.ALLOWED_HOST_LIST = "drone.cloonar.com"; };