From 27d6a53bf5138fb05f53e5c90deedfd150d5f669 Mon Sep 17 00:00:00 2001 From: b12f Date: Tue, 12 Nov 2024 22:24:37 +0100 Subject: [PATCH] modules/forgejo: allow migrations from local networks --- modules/forgejo/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/forgejo/default.nix b/modules/forgejo/default.nix index d99abdd..744d618 100644 --- a/modules/forgejo/default.nix +++ b/modules/forgejo/default.nix @@ -141,6 +141,12 @@ LOGIN_REMEMBER_DAYS = 365; }; + # See https://docs.gitea.com/administration/config-cheat-sheet#migrations-migrations + migrations = { + # This allows migrations from the same forgejo instance + ALLOW_LOCALNETWORKS = true; + }; + # https://forgejo.org/docs/next/admin/config-cheat-sheet/#indexer-indexer indexer = { REPO_INDEXER_ENABLED = true; -- 2.44.2