NixOS on ARM/Raspberry Pi: Difference between revisions

imported>Leo60228
Fix <
imported>Valodim
add paragraph about audio
Line 175: Line 175:
   '';
   '';
}
}
</nowiki>}}
== Audio ==
In addition to the usual config, it might be required to enable audio support explicitly in the firmwareConfig.
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
  sound.enable = true;
  hardware.pulseaudio.enable = true;
  boot.loader.raspberryPi.firmwareConfig = ''
    dtparam=audio=on
  '';
</nowiki>}}
</nowiki>}}