The buildbot-nix master and worker both ran on boron. Repointed both
to iceman in locations.nix so autoServe enables them there and
disables them on boron, and updated the workerCores map (boron 16 ->
iceman 32) which the master throws on if a worker is missing.
Ported boron's aarch64 remote-build delegation (slider over ssh-ng)
to iceman so the worker can still build aarch64-linux jobs, and
removed it from boron. Authorised iceman on slider's
nix-remote-builder so slider accepts its host key. Caddy stays on
boron: the buildbot.hillion.co.uk vhost in global.nix already proxies
via ${locations.services.buildbot-nix-master}, so it follows the
repoint to iceman's nebula IP with no web change.
Rekeyed the buildbot-nix age secrets to iceman (agenix-rekey).
On iceman's impermanence the persisted state dirs (/var/lib/buildbot
and /var/lib/buildbot-worker) are created root-owned, so the services,
running as buildbot and buildbot-worker, failed pre-start with
permission denied while creating their subdirectories. Set
StateDirectory on both units so systemd creates and chowns the dir
during each service's own startup; systemd adds the path to
RequiresMountsFor, ordering it after the impermanence bind-mount so the
chown lands on the mounted directory rather than racing it. This drops
the master's tmpfiles chown, which ran before the mount at boot and
left the directory root-owned.
Test plan:
- Built iceman and boron toplevels with `nix build '.#nixosConfigurations."<host>".config.system.build.toplevel'`
- Confirmed buildbot master+worker enable on iceman and disable on boron via nix eval
- Confirmed buildbot-master/worker units carry StateDirectory via nix eval
- Confirmed boron Caddy vhost now proxies to iceman.cx.neb.jakehillion.me:8010
- CI