From ebc7c2ede5cb1d5699797b88478fa03d50bb24e2 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 1 Jan 2025 13:24:59 -0700 Subject: [PATCH] [NixOS] Attempt to disable registration in gitea --- nixos/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/gitea.nix b/nixos/gitea.nix index acd7abb6..966a1438 100644 --- a/nixos/gitea.nix +++ b/nixos/gitea.nix @@ -8,6 +8,10 @@ makeEnable config "myModules.gitea" false { enable = true; interval = "23:05"; }; + disableRegistration = true; + settings.service = { + DISABLE_REGISTRATION = true; + }; settings.server = { DOMAIN = "dev.railbird.ai"; SSH_PORT = 1123;