flake: expose agent-base + manager toplevels as packages, opt-in pre-build via hive-c0re module (closes #97)
This commit is contained in:
parent
c62c73e546
commit
dfc944d5fa
3 changed files with 76 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -78,6 +78,16 @@ manager container, and auto-rebuilds any container whose hyperhive
|
|||
rev goes stale. `claude-code` is unfree — hyperhive scopes the
|
||||
whitelist to itself, nothing for the operator to set.
|
||||
|
||||
Optional: set `services.hive-c0re.preBuildAgentTemplates = true;`
|
||||
to pre-fetch the per-container system closures into your host's
|
||||
/nix/store as part of `nixos-rebuild`. First-agent-spawn then
|
||||
completes in seconds instead of minutes (no nixpkgs/claude-code
|
||||
fetch on the critical path), at the cost of a few GB extra in your
|
||||
system closure. Off by default (the toplevels are pinned to
|
||||
`x86_64-linux`, so non-x86 hosts would otherwise force a cross-build).
|
||||
Alternatively warm the store manually:
|
||||
`nix build github:vinzenz/hyperhive#agent-base-toplevel`.
|
||||
|
||||
## Agent configuration
|
||||
|
||||
Per-agent settings live in each agent's `agent.nix` and are synced to
|
||||
|
|
|
|||
Loading…
Reference in a new issue