From 52cea649b38942e8d1a2b809abfac722db1bc668 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sat, 10 Aug 2024 13:31:51 +0200 Subject: [PATCH] forgo disable registartion --- systems/zap/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/systems/zap/default.nix b/systems/zap/default.nix index d9a0d75..cafebb7 100644 --- a/systems/zap/default.nix +++ b/systems/zap/default.nix @@ -74,9 +74,14 @@ services.forgejo = { enable = true; - settings.server = { - HTTP_PORT = 8085; - ROOT_URL = "https://git.missing.ninja/"; + settings = { + server = { + HTTP_PORT = 8085; + ROOT_URL = "https://git.missing.ninja/"; + }; + service = { + DISABLE_REGISTRATION = true; + }; }; lfs.enable = true; };