mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-03 16:29:43 +01:00
raspberry-pi/5: add xserver configuration
This commit is contained in:
parent
7a0657950e
commit
9d8a91d679
1 changed files with 11 additions and 0 deletions
|
@ -12,4 +12,15 @@
|
||||||
"usb_storage"
|
"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
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue