NixOS on ARM/Raspberry Pi 3: Difference between revisions

Tobsz (talk | contribs)
Add warning against failing builds due to running out of memory and recommend creating a swap file first
Tobsz (talk | contribs)
m Add missing closing paren.
 
Line 44: Line 44:
First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image and install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]].
First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image and install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]].


{{warning|1=To avoid running out of memory and ''failing'' to build, it is advised to create a swap file (see e.g. [https://wiki.archlinux.org/title/swap#Swap_file_creation] ''before'' executing <code>nixos-rebuild</code> for the first time.}}
{{warning|1=To avoid running out of memory and ''failing'' to build, it is advised to create a swap file (see e.g. [https://wiki.archlinux.org/title/swap#Swap_file_creation]) ''before'' executing <code>nixos-rebuild</code> for the first time.}}


=== Raspberry Pi 3B and 3B+ ===
=== Raspberry Pi 3B and 3B+ ===