From 6b82bc4e37fd3d8706337cf001e1f2ec9b1af73c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 29 Aug 2022 13:28:59 +0200 Subject: [PATCH] services: gitea: fix renamed options --- services/gitea/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/services/gitea/default.nix b/services/gitea/default.nix index 9dfb236..6124fe7 100644 --- a/services/gitea/default.nix +++ b/services/gitea/default.nix @@ -57,21 +57,21 @@ in { rootUrl = "https://git.${domain}/"; httpAddress = "127.0.0.1"; httpPort = cfg.privatePort; - log.level = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ] lfs.enable = true; - # NOTE: temporarily remove this for initial setup - disableRegistration = true; - - # only send cookies via HTTPS - cookieSecure = true; - settings = { + log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ] other.SHOW_FOOTER_VERSION = false; repository = { ENABLE_PUSH_CREATE_USER = true; DEFAULT_BRANCH = "main"; }; + + # NOTE: temporarily remove this for initial setup + service.DISABLE_REGISTRATION = true; + + # only send cookies via HTTPS + session.COOKIE_SECURE = true; }; # NixOS module uses `gitea dump` to backup repositories and the database,