From d8464519ba937d81012e95b38e9194aaf33aff00 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Wed, 22 May 2024 07:10:13 +0100 Subject: [PATCH] Disable router log in gitea --- modules/services/gitea/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index e6f1c27..a6ec46f 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -65,7 +65,6 @@ in { settings = { server = { DOMAIN = config.networking.domain; - DISABLE_ROUTER_LOG = true; LANDING_PAGE = "explore"; OFFLINE_MODE = true; PROTOCOL = "http+unix"; @@ -76,7 +75,10 @@ in { }; service.DISABLE_REGISTRATION = true; session.COOKIE_SECURE = true; - log.ROOT_PATH = "${stateDir}/log"; + log = { + ROOT_PATH = "${stateDir}/log"; + DISABLE_ROUTER_LOG = true; + }; ui = { THEMES = "gitea,arc-green,github,github-auto,github-dark"; DEFAULT_THEME = "github-dark";