say one agent-base closure in the preBuildAgentTemplates docs
This commit is contained in:
parent
1b60084bf0
commit
8c948434ae
2 changed files with 4 additions and 4 deletions
|
|
@ -566,8 +566,8 @@ config — all nspawn containers live in `machine.slice`.
|
||||||
### Pre-building agent templates
|
### Pre-building agent templates
|
||||||
|
|
||||||
`preBuildAgentTemplates` (default `false`) causes the host NixOS
|
`preBuildAgentTemplates` (default `false`) causes the host NixOS
|
||||||
build to pre-fetch the per-container system closures
|
build to pre-fetch the `agent-base` container system closure, which every
|
||||||
(`agent-base` + manager toplevels) into `/nix/store`, instead of
|
agent builds from, into `/nix/store`, instead of
|
||||||
leaving that work to the first `nixos-container start`. The
|
leaving that work to the first `nixos-container start`. The
|
||||||
trade-off:
|
trade-off:
|
||||||
|
|
||||||
|
|
@ -581,7 +581,7 @@ trade-off:
|
||||||
does all the eval + fetch work at runtime (can take a few
|
does all the eval + fetch work at runtime (can take a few
|
||||||
minutes on a fresh store).
|
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,
|
`aarch64` host forces a cross-compilation or remote-builder build,
|
||||||
which is almost never desired. Leave off on non-x86 hosts.
|
which is almost never desired. Leave off on non-x86 hosts.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,7 @@
|
||||||
for any agent then completes in seconds instead of minutes
|
for any agent then completes in seconds instead of minutes
|
||||||
because nothing's left to fetch.
|
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
|
`x86_64-linux` (nixos-containers run native arch). Enabling
|
||||||
on an aarch64 host would force nix to build the x86 closure
|
on an aarch64 host would force nix to build the x86 closure
|
||||||
via cross or a remote builder, which is rarely what you want.
|
via cross or a remote builder, which is rarely what you want.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue