From 7bd64222fc87795934fb2bce496cdc7494772086 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 8 Jun 2023 12:20:52 +0200 Subject: [PATCH] services: gitea: new settings format --- services/gitea/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/services/gitea/default.nix b/services/gitea/default.nix index 6124fe7..21c9c43 100644 --- a/services/gitea/default.nix +++ b/services/gitea/default.nix @@ -52,14 +52,16 @@ in { services.gitea = { enable = true; user = giteaUser; - domain = "git.${domain}"; appName = "Personal Forge"; - rootUrl = "https://git.${domain}/"; - httpAddress = "127.0.0.1"; - httpPort = cfg.privatePort; lfs.enable = true; settings = { + server = { + ROOT_URL = "https://git.${domain}/"; + DOMAIN = "git.${domain}"; + HTTP_ADDR = "127.0.0.1"; + HTTP_PORT = cfg.privatePort; + }; log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ] other.SHOW_FOOTER_VERSION = false; repository = {