NixOS on ARM/Raspberry Pi: Difference between revisions

imported>Samueldr
m Add note about the sd image
imported>Samueldr
m Remove installer profile from examples
Line 153: Line 153:


Until the generic image works, a [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image_raspberrypi4.aarch64-linux temporary device-specific image is build on Hydra]. Note that this image is not using u-boot, but rather the Raspberry Pi specific bootloader configuration.
Until the generic image works, a [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image_raspberrypi4.aarch64-linux temporary device-specific image is build on Hydra]. Note that this image is not using u-boot, but rather the Raspberry Pi specific bootloader configuration.
The following configuration samples are built on the assumption that they are added to a configuration generated using <code>nixos-generate-config</code>.


==== Without GPU ====
==== Without GPU ====
Line 159: Line 161:


{
{
  imports = [ </nowiki><nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix><nowiki> ];
   networking.wireless.enable = false;
   networking.wireless.enable = false;
   services.xserver = {
   services.xserver = {
Line 176: Line 176:


{
{
  imports = [ </nowiki><nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix><nowiki> ];
   networking.wireless.enable = false;
   networking.wireless.enable = false;
   hardware.opengl = {
   hardware.opengl = {