From a257fd12bd7cc6b2a2b8909e947e5a587df233ee Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 27 Nov 2024 06:47:43 -0700 Subject: [PATCH] box: actually disable registration in gitea --- hosts/box/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index 5e12ca4..e051e0c 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -790,9 +790,11 @@ in START_SSH_SERVER = true; SSH_SERVER_HOST_KEYS = "ssh/gitea-ed25519"; SSH_PORT = 2222; - DISABLE_REGISTRATION = true; COOKIE_SECURE = true; }; + service = { + DISABLE_REGISTRATION = true; + }; }; database = {