diff --git a/raspberry-pi/5/default.nix b/raspberry-pi/5/default.nix index 8aea944..d4018d1 100644 --- a/raspberry-pi/5/default.nix +++ b/raspberry-pi/5/default.nix @@ -12,4 +12,15 @@ "usb_storage" ]; }; + + # Needed for Xorg to start (https://github.com/raspberrypi-ui/gldriver-test/blob/master/usr/lib/systemd/scripts/rp1_test.sh) + # This won't work for displays connected to the RP1 (DPI/composite/MIPI DSI), since I don't have one to test. + services.xserver.extraConfig = '' + Section "OutputClass" + Identifier "vc4" + MatchDriver "vc4" + Driver "modesetting" + Option "PrimaryGPU" "true" + EndSection + ''; }