NixOS on ARM/Raspberry Pi 4: Difference between revisions
Tags: Reverted Visual edit |
Tags: Reverted Visual edit |
||
| Line 148: | Line 148: | ||
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>. | ||
=== | === 网络配置 === | ||
以太网和wifi接口应该开箱即用。除了正常的网络配置外,如果您在启动后不久遇到速度慢或主机在网络上无法访问的问题,请考虑禁用wifi省电。对于NetworkManager,以下配置就足够了: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> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||