From 87f9bc92df82eb7c0384a0544cb37a06ece2ec54 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 d99abdd2..744d6180 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;