NixOS on ARM/Raspberry Pi: Difference between revisions
imported>MrVanDalo fixed troubleshooting link |
imported>Makefu No edit summary |
||
| Line 104: | Line 104: | ||
Use <code>nix-shell -p screen --run "screen /dev/ttyUSB0 115200"</code> to connect to the console. | Use <code>nix-shell -p screen --run "screen /dev/ttyUSB0 115200"</code> to connect to the console. | ||
{{note|The mainline kernel (tested with nixos kernel 4.18.7) [https://github.com/raspberrypi/linux/wiki/Upstreaming#downstream-drivers does not include support for cpu frequency scaling] on the Raspberry Pi. To get higher clock speed, set [https://www.raspberrypi.org/documentation/configuration/config-txt/overclocking.md <code><nowiki>force_turbo=1</nowiki></code>] in <code>/boot/config.txt</code> }} | {{note|The mainline kernel (tested with nixos kernel 4.18.7) [https://github.com/raspberrypi/linux/wiki/Upstreaming#downstream-drivers does not include support for cpu frequency scaling] on the Raspberry Pi. To get higher clock speed, set [https://www.raspberrypi.org/documentation/configuration/config-txt/overclocking.md <code><nowiki>force_turbo=1</nowiki></code>] in <code>/boot/config.txt</code> }} | ||
{{note| | {{note|As of today (2018-01-13) the stable channel contains fixes for wifi for both the stable and the latest linux kernel. Check out {{pull|53747}} }} | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang=nix> | ||
{ | { | ||
... | ... | ||
hardware.enableRedistributableFirmware = true; | hardware.enableRedistributableFirmware = true; | ||
networking.wireless.enable = true; | networking.wireless.enable = true; | ||
} | } | ||