Watch
0
0
Fork
You've already forked hyperhive
0

say one agent-base closure in the preBuildAgentTemplates docs

This commit is contained in:
atlas 2026-10-17 00:26:35 +02:00 • committed by mara
commit 8c948434ae
2 changed files with 4 additions and 4 deletions

View file

@ -566,8 +566,8 @@ config — all nspawn containers live in `machine.slice`.
### Pre-building agent templates
`preBuildAgentTemplates` (default `false`) causes the host NixOS
build to pre-fetch the per-container system closures
(`agent-base` + manager toplevels) into `/nix/store`, instead of
build to pre-fetch the `agent-base` container system closure, which every
agent builds from, into `/nix/store`, instead of
leaving that work to the first `nixos-container start`. The
trade-off:
@ -581,7 +581,7 @@ trade-off:
does all the eval + fetch work at runtime (can take a few
minutes on a fresh store).
**Note**: the meta flake pins toplevels to `x86_64-linux`. Enabling on an
**Note**: the meta flake pins the toplevel to `x86_64-linux`. Enabling on an
`aarch64` host forces a cross-compilation or remote-builder build,
which is almost never desired. Leave off on non-x86 hosts.

View file

@ -185,7 +185,7 @@
for any agent then completes in seconds instead of minutes
because nothing's left to fetch.
Off by default because the toplevels are pinned to
Off by default because the toplevel is pinned to
`x86_64-linux` (nixos-containers run native arch). Enabling
on an aarch64 host would force nix to build the x86 closure
via cross or a remote builder, which is rarely what you want.