NixOS on ARM: Difference between revisions

imported>Pickfire
Add cross compile instructions, flake and qemu/kvm note
imported>Pickfire
Add note on where flake file should be
Line 366: Line 366:
</syntaxHighlight>
</syntaxHighlight>


if you use the experimental flake, can do this instead and build with <code>nix build .#images.rpi2</code>:
if you use the experimental flake, can put the following in <code>flake.nix</code>, <code>git add flake.nix</code> and build with <code>nix build .#images.rpi2</code>:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>