Files
nixos-setup/hosts
ariandnBot 10d85b2a91 Push builds to bigbox2 over ssh-ng from a background queue
bigbox2 runs nix-serve, which only serves its own store: every
'nix copy --to http://bigbox2.lab.internal:5000' from the post-build hook
ended in HTTP 404 after compressing the whole closure, so nothing ever
landed and the next build tried the same paths again. A post-build-hook
also blocks the build until it returns, which held up every build on
fwdesk (nbot's VM checks spent most of a cold CI run there).

- cacheReceive (on bigbox2): nix.sshServe with write over ssh-ng, for
  fwdesk's ssh host key; nix-ssh is trusted, and nix-serve signs the
  pushed paths when it serves them.
- cachePush: the hook only queues $OUT_PATHS. nix-cache-push.service
  drains the queue with nix copy to ssh-ng://nix-ssh@bigbox2.lab.internal
  as the host key, with bigbox2's host key pinned; a path unit starts it,
  and a failed push is retried every 10 minutes by a timer.

Co-Authored-By: nBot
2026-11-12 10:12:07 -05:00
..
2026-11-11 12:03:09 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
2026-11-11 17:02:36 -05:00
…
2026-11-05 15:21:01 -05:00
2026-09-09 14:48:56 -04:00