NixOS on ARM: Difference between revisions

imported>Legendofmiracles
m fixed mac
imported>Samueldr
m Update images list
Line 279: Line 279:
=== Getting the installer ===
=== Getting the installer ===


For aarch64 it is possible to download images from Hydra ([https://hydra.nixos.org/job/nixos/release-20.09/nixos.sd_image.aarch64-linux 20.09]) and ([https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable]). On the page click on the latest successful build to get a download link under build products. If the image has the extension <code>.zst</code>, it will need to be decompressed before writing to installation device. Use <code>nix-shell -p zstd --run "unzstd <img-name>.img.zstm"</code> to decompress the image.
For AArch64 it is possible to download images from Hydra.
 
* [https://hydra.nixos.org/job/nixos/release-20.09/nixos.sd_image.aarch64-linux 20.09 (LTS)]
* [https://hydra.nixos.org/job/nixos/release-20.09/nixos.sd_image_new_kernel.aarch64-linux 20.09 (Latest kernel)]
* [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable (LTS)]
* [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image_new_kernel.aarch64-linux unstable (Latest kernel)]
 
On the page click on the latest successful build to get a download link under build products. If the image has the extension <code>.zst</code>, it will need to be decompressed before writing to installation device. Use <code>nix-shell -p zstd --run "unzstd <img-name>.img.zstm"</code> to decompress the image.


=== Installation steps ===
=== Installation steps ===
Line 298: Line 305:


Thanks to [https://github.com/grahamc @grahamc] and [https://www.packet.com/ Packet], the [https://hydra.nixos.org/ official NixOS Hydra] builds a full set of binaries (available on https://cache.nixos.org) for the AArch64 architecture on the nixpkgs-unstable channel. Starting with the 18.03 release  [https://hydra.nixos.org/jobset/nixos/release-18.03 the official Hydra instance will also build the stable channel] .
Thanks to [https://github.com/grahamc @grahamc] and [https://www.packet.com/ Packet], the [https://hydra.nixos.org/ official NixOS Hydra] builds a full set of binaries (available on https://cache.nixos.org) for the AArch64 architecture on the nixpkgs-unstable channel. Starting with the 18.03 release  [https://hydra.nixos.org/jobset/nixos/release-18.03 the official Hydra instance will also build the stable channel] .


=== armv6l and armv7l ===
=== armv6l and armv7l ===