From 0965c4f8c06c5b1f52c9dfc2356e8e91dec867dd Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Wed, 28 May 2025 11:11:53 +0800 Subject: [PATCH] fix(g18-next): limit gitea registration --- hosts/g18-next/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/g18-next/configuration.nix b/hosts/g18-next/configuration.nix index a5cb969..3c5bdde 100644 --- a/hosts/g18-next/configuration.nix +++ b/hosts/g18-next/configuration.nix @@ -78,6 +78,10 @@ in PROXY_URL = "http://192.168.255.1:20171"; PROXY_HOSTS = "github.com"; }; + service = { + ENABLE_CAPTCHA = true; + REGISTER_MANUAL_CONFIRM = true; + }; }; }; systemd.sockets.gitea.listenStreams = [ "22" ];