From 9d596c89adec8eda40249857554becba3d255094 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Tue, 2 Jul 2024 13:06:34 +0200 Subject: [PATCH] diable registration on forgejo --- appserver/forgejo.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/appserver/forgejo.nix b/appserver/forgejo.nix index ba10dba..dc749e4 100644 --- a/appserver/forgejo.nix +++ b/appserver/forgejo.nix @@ -3,4 +3,15 @@ services.forgejo = { enable = true; }; + services.forgejo.settings = { + DEFAULT = { + RUN_MODE = "prod"; + }; + service = { + DISABLE_REGISTRATION = false; + }; + other = { + SHOW_FOOTER_VERSION = true; + }; + }; }