NixOS on ARM: Difference between revisions
imported>Samueldr m Add link to (not yet created) Pi 4 page |
imported>Jonringer No edit summary |
||
Line 271: | Line 271: | ||
=== Getting the installer === | === Getting the installer === | ||
For aarch64 it is possible to download images from Hydra ([https://hydra.nixos.org/job/nixos/release-20.03/nixos.sd_image.aarch64-linux 20.03]) and ([https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable]). On the page click on the latest successful built to get a download link under build products. | For aarch64 it is possible to download images from Hydra ([https://hydra.nixos.org/job/nixos/release-20.03/nixos.sd_image.aarch64-linux 20.03]) and ([https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux unstable]). On the page click on the latest successful built to get a download link under build products. If the image has the extension <code>.zstd</code>, it will need to be decompressed before writing to installation device. Use <code>nix-shell -p zstd --run "unzstd <img-name>.img.zstd"</code> to decompress the image. | ||
The most current installation images and miscellaneous boot files for ARMv6 and ARMv7 devices are currently built, maintained, and hosted by '''@dezgeg''' at http://nixos-arm.dezgeg.me/installer. '''Warning: Due to a [https://github.com/NixOS/nix/issues/2393 bug] in the version of nix supplied with these images, upgrading (e.g. via <code>nixos-rebuild switch --upgrade</code> will not work. See [https://github.com/NixOS/nixpkgs/issues/51798 here] for details, and a workaround [https://github.com/qolii/nixpkgs/releases/tag/sd-image-ARMv7-68aad73 replacement image] for armv7l'''. Generic usage is described in this page, and board-specific instructions when needed are described on their page. | The most current installation images and miscellaneous boot files for ARMv6 and ARMv7 devices are currently built, maintained, and hosted by '''@dezgeg''' at http://nixos-arm.dezgeg.me/installer. '''Warning: Due to a [https://github.com/NixOS/nix/issues/2393 bug] in the version of nix supplied with these images, upgrading (e.g. via <code>nixos-rebuild switch --upgrade</code> will not work. See [https://github.com/NixOS/nixpkgs/issues/51798 here] for details, and a workaround [https://github.com/qolii/nixpkgs/releases/tag/sd-image-ARMv7-68aad73 replacement image] for armv7l'''. Generic usage is described in this page, and board-specific instructions when needed are described on their page. |