NixOS on ARM/Raspberry Pi 5: Difference between revisions

DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
Bootstrapping
Line 77: Line 77:
Afterwards, you can build one of the SD images:<syntaxhighlight lang="shell">
Afterwards, you can build one of the SD images:<syntaxhighlight lang="shell">
$ nix build github:nvdm/nixos-raspberrypi#installerImages.rpi5
$ nix build github:nvdm/nixos-raspberrypi#installerImages.rpi5
</syntaxhighlight>Simply copy the image to the current directory from the <code>result</code> directory, extract it and write it to the SD card. You can find more information on the [[NixOS on ARM/Installation]] page.
</syntaxhighlight>You can either [[Cross Compiling|cross-compile]] the image on your system, or alternatively, you can install the "normal" Raspberry Pi OS on your Raspberry Pi 5, then install Nix standalone (multi-user), and set it up as a [[distributed build]] machine.
 
Finally, simply copy the image to the current directory from the <code>result</code> directory, extract it and write it to the SD card. You can find more information on the [[NixOS on ARM/Installation]] page.


=== Step 2: Installing NixOS ===
=== Step 2: Installing NixOS ===