infra_wiki

rackpi5

The image-only NixOS config that spore signs and serves, and that forge boots over HTTP when its NVMe does not boot.

vendorRaspberry Pi
modelRaspberry Pi 5, on forge's board
serialn/a (image)
cpun/a (image)
ramn/a (image)
storagenone (squashfs Nix store from spore, in RAM)
osNixOS 26.05 (Yarara)

rackpi5 is an image with no hardware of its own. nix/hosts/default.nix declares it with kind = "image". forge boots it when forge's NVMe does not boot.

What it runs#

rackpi5 is a stateless system in RAM with sshd. sshd accepts the SSH keys of jawn and of rowbutt, the host user for Rowbutt. spore signs and serves the image over HTTP. See Netboot.

Reach#

rackpi5 runs on forge's board, so it answers at forge.lolwtf.ca. Its host key differs from forge's and changes on each boot. Connect with a throwaway known_hosts:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no forge.lolwtf.ca

The initrd sshd answers on port 2222 and accepts only jawn's keys.

Quirks#

  • The image changes only when spore deploys a new generation.

Edit on GitHub

↑↓ move ↵ open esc close