NixOS on ARM/Raspberry Pi 5: Difference between revisions
No edit summary |
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> | </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 === |