From f34b409f309d316ff17586f4730985b447250599 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 21 Oct 2024 00:27:46 -0400 Subject: [PATCH] disable registration on gitea Signed-off-by: ahuston-0 --- systems/palatine-hill/gitea.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/systems/palatine-hill/gitea.nix b/systems/palatine-hill/gitea.nix index 3354980..3fe2c92 100644 --- a/systems/palatine-hill/gitea.nix +++ b/systems/palatine-hill/gitea.nix @@ -19,10 +19,15 @@ in name = "giteadb"; port = 5433; }; - settings.server = { - DOMAIN = "git.alicehuston.xyz"; - ROOT_URL = "https://git.alicehuston.xyz/"; - HTTP_PORT = 6443; + settings = { + server = { + DOMAIN = "git.alicehuston.xyz"; + ROOT_URL = "https://git.alicehuston.xyz/"; + HTTP_PORT = 6443; + }; + service = { + DISABLE_REGISTRATION = true; + }; }; stateDir = base_path; lfs.enable = true;