NixOS on ARM/Raspberry Pi 5: Difference between revisions
m migrate templates |
m fix syntax highlight lang |
||
| Line 83: | Line 83: | ||
nix.settings.trusted-users = [ "your-username" ]; | nix.settings.trusted-users = [ "your-username" ]; | ||
<nowiki>}</nowiki>|name=configuration.nix|lang=nix}} | <nowiki>}</nowiki>|name=configuration.nix|lang=nix}} | ||
Afterwards, you can build one of the SD images:<syntaxhighlight lang=" | Afterwards, you can build one of the SD images:<syntaxhighlight lang="console"> | ||
$ nix build github:nvmd/nixos-raspberrypi#installerImages.rpi5 | $ nix build github:nvmd/nixos-raspberrypi#installerImages.rpi5 | ||
</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. | </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. | ||