hive-forge: disable F3 (federation) — defaults to RO nix-store path
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.
This commit is contained in:
parent
4a06615c5c
commit
3e3c27ac48
1 changed files with 5 additions and 0 deletions
|
|
@ -112,6 +112,11 @@ in
|
||||||
DEFAULT_PRIVATE = "private";
|
DEFAULT_PRIVATE = "private";
|
||||||
};
|
};
|
||||||
log.LEVEL = "Warn";
|
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 ];
|
environment.systemPackages = [ pkgs.forgejo ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue