Build ISO

From another existing Linux machine, download the iso builder script:

curl -LO https://raw.githubusercontent.com/EnigmaCurry/blog.rymcg.tech/refs/heads/master/src/nix/nix-build-iso.sh
chmod +x nix-build-iso.sh

Run the script to build the .iso file:

./nix-build-iso.sh

Answer the questions to customize the installer:

  • Enter the installer hostname
  • Enter your SSH keys
  • Enter your WiFi SSID and credentials
  • Enable serial console
  • Enter a webhook to receive a message when fully booted, that will contain the local IP address

WARNING: All of this will be burned into the .iso= file you build. Do not publish your .iso file.

Write the .iso file to a USB drive to boot in your target machine.

sudo dd if=~/Downloads/name_of_your.iso of=/dev/name_of_your_usb bs=16M status=progress