NixOS on ARM: Difference between revisions
imported>Drupol |
imported>Drupol |
||
Line 382: | Line 382: | ||
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.zst"</code> to decompress the image. | 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.zst"</code> to decompress the image. | ||
Once the file is downloaded, run the following command to install the image onto the SD Card, replace <code>/dev/mmcblk0</code> with the path to the SD card (use <code>dmesg</code> to find it out). | |||
<code> | |||
sudo dd if=nixos-sd-image-23.05pre482417.9c7cc804254-aarch64-linux.img of=/dev/mmcblk0 | |||
</code> | |||
=== Installation steps === | === Installation steps === |