NixOS on ARM/Raspberry Pi 4: Difference between revisions
→Audio: Update instructions for enabling audio. The old ones were broken. |
|||
| Line 146: | Line 146: | ||
If you're running headless, you can also disable HDMI audio and force use of the headphones jack by adding <code>hdmi_ignore_edid_audio=1</code> on a line below <code>dtparam=audio=on</code>. | If you're running headless, you can also disable HDMI audio and force use of the headphones jack by adding <code>hdmi_ignore_edid_audio=1</code> on a line below <code>dtparam=audio=on</code>. | ||
=== Networking === | |||
Ethernet and wifi interfaces should work out of the box. In addition to normal network configuration, consider disabling wifi powersaving if you experience slowness or issues with the host becoming unreachable on the network shortly after boot. For NetworkManager, the following configuration is sufficient: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ | |||
# Basic networking | |||
networking.networkmanager.enable = true; | |||
# Prevent host becoming unreachable on wifi after some time. | |||
networking.networkmanager.wifi.powersave = false; | |||
} | |||
</nowiki>}} | |||
=== Using GPIO pins as non-root === | === Using GPIO pins as non-root === | ||