rpi3b #
Download the image: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux
Flash it into the SD card.
nixos-generate-config
, it’s in /etc/nisox
, configuration.nix
and hardware-configuration.nix
.
Add swap:
fallocate -l 1g /swap
chmod 0600 /swap
mkswap /swap
swapon /swap
nixos-rebuild switch --verbose