From 3e3c27ac48da5eb8c7b565f0b182992f0433fe4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Sun, 17 May 2026 00:03:41 +0200 Subject: [PATCH] =?UTF-8?q?hive-forge:=20disable=20F3=20(federation)=20?= =?UTF-8?q?=E2=80=94=20defaults=20to=20RO=20nix-store=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit forgejo's F3 federation subsystem resolves its data dir relative to the binary, which under nixos lands at /run/current-system/sw/bin/data/f3 (read-only nix store) and fatals the daemon at boot. we don't federate; turn it off. --- nix/modules/hive-forge.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/modules/hive-forge.nix b/nix/modules/hive-forge.nix index b35ea33..885acec 100644 --- a/nix/modules/hive-forge.nix +++ b/nix/modules/hive-forge.nix @@ -112,6 +112,11 @@ in DEFAULT_PRIVATE = "private"; }; log.LEVEL = "Warn"; + # F3 (federation) computes its data dir relative to the + # forgejo binary, which lands in the read-only nix + # store and crashes the daemon at boot. We don't + # federate; turn it off. + "F3".ENABLED = false; }; }; environment.systemPackages = [ pkgs.forgejo ];