From 6cf1a0ee7b526e0b30c435b34543e2e74eb4c11f Mon Sep 17 00:00:00 2001 From: Nydragon Date: Tue, 1 Oct 2024 23:49:54 +0200 Subject: [PATCH] feat(forgejo): allow all domains for migrations --- hosts/raptus/forgejo/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/raptus/forgejo/default.nix b/hosts/raptus/forgejo/default.nix index d020d65..9007063 100644 --- a/hosts/raptus/forgejo/default.nix +++ b/hosts/raptus/forgejo/default.nix @@ -6,8 +6,9 @@ environment = { "USER_GID" = "1000"; "USER_UID" = "1000"; - FORGEJO__migrations__ALLOWED_DOMAINS = "github.com,*.github.com"; - FORGEJO__server__SSH_PORT = "222"; + "FORGEJO__migrations__ALLOWED_DOMAINS" = "*"; + "FORGEJO__server__SSH_PORT" = "222"; + "FORGEJO__service__DISABLE_REGISTRATION" = "true"; }; volumes = [ "test_forgejo:/data:rw"