NixOS on ARM/Raspberry Pi 4: Difference between revisions

Nixoszz (talk | contribs)
Tags: Reverted Visual edit
Nixoszz (talk | contribs)
Tags: Reverted Visual edit
Line 41: Line 41:
nix.dev上提供了在Raspberry Pi上安装NixOS的示例说明。[https://nix.dev/tutorials/installing-nixos-on-a-raspberry-pi installing NixOS on a Raspberry Pi]  
nix.dev上提供了在Raspberry Pi上安装NixOS的示例说明。[https://nix.dev/tutorials/installing-nixos-on-a-raspberry-pi installing NixOS on a Raspberry Pi]  


{{warning| Note that the Raspberry Pi 4 has two HDMI outputs, and apparently sometimes the user prompt for the console/TTY is displayed on HDMI 1 while the boot process is displayed on HDMI 0 (this may even [https://raspberrypi.stackexchange.com/a/112071/149250 be the case] with the official (non NixOs) non-graphical lite image). So if after the message "Welcome on NixOs" at the end of phase 2 your screen goes black/disconnects, try to use the other HDMI port. See the related bug [https://github.com/NixOS/nixpkgs/issues/179701 here].}}
{{warning|请注意,Raspberry Pi 4有两个HDMI输出,显然有时控制台/TTY的用户提示显示在HDMI 1上,而启动过程显示在HDMI 0上(官方(非NixOs)非图形精简版图像也可能出现这种情况)。因此,如果在第2阶段结束时收到“欢迎使用NixOs”的消息后,您的屏幕变黑/断开连接,请尝试使用另一个HDMI端口。请在此处查看相关错误。
Note that the Raspberry Pi 4 has two HDMI outputs, and apparently sometimes the user prompt for the console/TTY is displayed on HDMI 1 while the boot process is displayed on HDMI 0 (this may even [https://raspberrypi.stackexchange.com/a/112071/149250 be the case] with the official (non NixOs) non-graphical lite image). So if after the message "Welcome on NixOs" at the end of phase 2 your screen goes black/disconnects, try to use the other HDMI port. See the related bug [https://github.com/NixOS/nixpkgs/issues/179701 here].}}


=== Configuration ===
=== Configuration ===