From bcab89dbfbb911b78e2cd0ffe543a203a9864d8a Mon Sep 17 00:00:00 2001 From: Shelvacu Date: Fri, 7 Jun 2024 20:27:43 -0700 Subject: [PATCH] gitea: enable push-to-create for new repositories --- hosts/by-name/servo/services/gitea.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/by-name/servo/services/gitea.nix b/hosts/by-name/servo/services/gitea.nix index e7c70a4e..30be7e08 100644 --- a/hosts/by-name/servo/services/gitea.nix +++ b/hosts/by-name/servo/services/gitea.nix @@ -53,6 +53,8 @@ session.COOKIE_SECURE = true; repository = { DEFAULT_BRANCH = "master"; + ENABLE_PUSH_CREATE_USER = true; + ENABLE_PUSH_CREATE_ORG = true; }; other = { SHOW_FOOTER_TEMPLATE_LOAD_TIME = false;