From 983065b94962a093fd55370535a4d04cfe617e66 Mon Sep 17 00:00:00 2001 From: Jade Date: Wed, 3 May 2023 21:32:39 +0200 Subject: [PATCH] lock down forgejo a bit --- modules/forgejo.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/forgejo.nix b/modules/forgejo.nix index 7b4c1c8..285716a 100644 --- a/modules/forgejo.nix +++ b/modules/forgejo.nix @@ -14,13 +14,19 @@ settings = { openid = { ENABLE_OPENID_SIGNIN = true; - ENABLE_OPENID_SIGNUP = true; - DISABLE_REGISTRATION = true; + #ENABLE_OPENID_SIGNUP = true; + }; + federation = { + ENABLED = true; }; #server = { #ROOT_URL = "https://forge.katzen.cafe/"; #HTTP_PORT = 8082; #}; + service = { + REGISTER_MANUAL_CONFIRM = true; + SHOW_REGISTRATION_BUTTON = false; + }; }; }; deployment.keys = {