From 4adeba626a5cf73405b6676627b9d7f65b4dacdf Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 30 May 2023 11:51:53 +0200 Subject: [PATCH] renge/gitea: Migrate to 23.05 options --- machines/renge/services/gitea.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/machines/renge/services/gitea.nix b/machines/renge/services/gitea.nix index d330a07..e3a8978 100644 --- a/machines/renge/services/gitea.nix +++ b/machines/renge/services/gitea.nix @@ -12,12 +12,10 @@ in services.gitea = { enable = true; - rootUrl = "https://git.sbruder.de/"; appName = "sbrudergit"; lfs = { enable = true; }; - enableUnixSocket = true; database.type = "postgres"; mailerPasswordFile = config.sops.secrets.gitea-mail.path; settings = { @@ -31,6 +29,11 @@ in DISABLE_GRAVATAR = true; }; server = { + # http server + DOMAIN = "git.sbruder.de"; + PROTOCOL = "http+unix"; + ROOT_URL = "https://git.sbruder.de/"; + # privacy DISABLE_ROUTER_LOG = true; OFFLINE_MODE = true;