This repository contains NixOS configurations for a network of computers ("hive"). It uses Nix Flakes for reproducible builds and is managed with the help of the nix_configs flake.
To enter a development shell with necessary tools, run:
nix developThe postpi-N computers.
- Decompress the generated image:
unzstd <image-file.zst> - Put the Raspberry Pi into flashing mode:
sudo rpiboot - Write the image to the device:
dd if=<decompressed image> of=/dev/sdX(replacesdXwith the correct device)
Connect to the serial console using minicom:
minicom --color on --baudrate 115200 --device /dev/ttyUSB0- Red: Leave disconnected
- GND (Black): Pin 6
- TXD (White): GPIO 14 (Pin 8)
- RXD (Green): GPIO 15 (Pin 10)
Alternatively, you can connect with screen:
screen /dev/tty.??? 115200