From 9f4c664250a21fb723034d05fa0ba51b44d71f0c Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 24 Jul 2025 13:46:51 +1000 Subject: [PATCH] hyrule.forgejo instance now sets ENABLE_PUSH_CREATE_USER --- hosts/hyrule/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/hyrule/default.nix b/hosts/hyrule/default.nix index 6807e27..dc5cfb2 100755 --- a/hosts/hyrule/default.nix +++ b/hosts/hyrule/default.nix @@ -300,6 +300,9 @@ in { repository = { DEFAULT_PRIVATE = "private"; # last, private, public + # repo/org created on push to non-existent + ENABLE_PUSH_CREATE_USER = true; + ENABLE_PUSH_CREATE_ORG = false; DEFAULT_PUSH_CREATE_PRIVATE = true; MAX_CREATION_LIMIT = -1; }; @@ -351,8 +354,7 @@ in { }; service = { - # toggle to create an admin user - DISABLE_REGISTRATION = true; + DISABLE_REGISTRATION = true; # toggle for new users #DEFAULT_USER_IS_RESTRICTED = true; # Forbid login with third-party services (ie github) ALLOW_ONLY_INTERNAL_REGISTRATION = true;