NixOS on ARM: Difference between revisions

imported>Erdnaxe
Add ODROID-HC4
imported>PsychoLlama
m Update deprecated SD image paths in example configs
Line 344: Line 344:
{ ... }: {
{ ... }: {
   imports = [
   imports = [
     <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix>
     <nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
   ];
   ];
   # put your own configuration here, for example ssh keys:
   # put your own configuration here, for example ssh keys:
Line 448: Line 448:
   # swapDevices = [ { device = "/swapfile"; size = 1024; } ];
   # swapDevices = [ { device = "/swapfile"; size = 1024; } ];
}</nowiki>}}
}</nowiki>}}
Note: the default configuration.nix will contain something like <code>imports = [ <nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix> ];</code> do not include that in your final installation or you will experience interesting problems. It is only for building the installation image!
Note: the default configuration.nix will contain something like <code>imports = [ <nixos/modules/installer/sd-card/sd-image-armv7l-multiplatform.nix> ];</code> do not include that in your final installation or you will experience interesting problems. It is only for building the installation image!


==== First rebuild on ARMv6 and ARMv7 ====
==== First rebuild on ARMv6 and ARMv7 ====