From 018b04b798ae8f8691f9febddc1d47430928496c Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 11 Sep 2022 20:07:19 +0200 Subject: [PATCH] Update renamed gitea options --- hosts/web-2/gitea.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/web-2/gitea.nix b/hosts/web-2/gitea.nix index 8f72f75..3c3d37f 100644 --- a/hosts/web-2/gitea.nix +++ b/hosts/web-2/gitea.nix @@ -12,15 +12,15 @@ user = "gitea"; socket = "/run/postgresql"; }; - cookieSecure = true; - disableRegistration = true; rootUrl = "https://git.clerie.de/"; domain = "git.clerie.de"; httpAddress = "127.0.0.1"; httpPort = 3000; lfs.enable = true; - log.level = "Info"; settings = { + log = { + LEVEL = "Info"; + }; database = { CHARSET = "utf8"; }; @@ -37,6 +37,7 @@ enabled = false; }; service = { + DISABLE_REGISTRATION = true; REGISTER_EMAIL_CONFIRM = false; ENABLE_NOTIFY_MAIL = false; ALLOW_ONLY_EXTERNAL_REGISTRATION = false; @@ -54,6 +55,9 @@ ENABLE_OPENID_SIGNIN = false; ENABLE_OPENID_SIGNUP = false; }; + session = { + COOKIE_SECURE = true; + }; }; };