NixOS on ARM/Raspberry Pi 4: Difference between revisions
imported>Bobbbay m Add instructions on uncompressing the .zst files. |
imported>Samueldr m Pre-emptively edit instructions |
||
Line 31: | Line 31: | ||
== Status == | == Status == | ||
The Raspberry Pi 4 Family is only supported as '''AArch64'''. Use as armv7 is community supported. | The Raspberry Pi 4 Family is only supported as '''AArch64'''. Use as armv7 is community supported. | ||
Line 39: | Line 36: | ||
== Board-specific installation notes == | == Board-specific installation notes == | ||
First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image and install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]]. | |||
The Raspberry Pi 4B should work with either the [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux generic SD image] or [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image_new_kernel.aarch64-linux the new kernel variant], starting with 21.05 (or unstable). | |||
Please note: to uncompress the .zstd, one may use the <code>unzstd</code> command (equivalent to <code>zstd -d</code>) on supported machines. The zstd commands can be accessed from the <code>zstd</code> package. | Please note: to uncompress the .zstd, one may use the <code>unzstd</code> command (equivalent to <code>zstd -d</code>) on supported machines. The zstd commands can be accessed from the <code>zstd</code> package. | ||
=== Configuration === | === Configuration === | ||
{{outdated|These instructions were written when the generic image did not work. Using the vendor kernel may be desirable under some conditions<sup>[which?]</sup>}} | |||
Using <code>nixos-generate-config</code> will not generate the required minimal configuration. | Using <code>nixos-generate-config</code> will not generate the required minimal configuration. |