From 8e428771c191c02895c1312e7255ceeaddbbbede Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sun, 23 Jul 2023 10:54:54 +0200 Subject: [PATCH] update gite to new options --- utils/modules/gitea.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"; };