diff --git a/docs/scheduler/coordinator.md b/docs/scheduler/coordinator.md index 366b9638..8fc18d45 100644 --- a/docs/scheduler/coordinator.md +++ b/docs/scheduler/coordinator.md @@ -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. diff --git a/nix/host-modules/hive-c0re/options.nix b/nix/host-modules/hive-c0re/options.nix index 108fb512..f53cc448 100644 --- a/nix/host-modules/hive-c0re/options.nix +++ b/nix/host-modules/hive-c0re/options.nix @@ -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.