NixOS on ARM/ODROID-C2: Difference between revisions
imported>Jasom mNo edit summary |
imported>Jasom Add information on configuring Xorg |
||
| Line 99: | Line 99: | ||
<hr /> | <hr /> | ||
==Xorg== | |||
Nixos 20.03 should install all modules needed for this to work but at least two changes should be made to the xorg configuration: | |||
<pre> | |||
services.xserver.videoDrivers = [ "modesetting" ]; | |||
services.xserver.extraConfig = '' | |||
Section "OutputClass" | |||
Identifier "Meson" | |||
MatchDriver "meson" | |||
Driver "modesetting" | |||
Option "PrimaryGPU" "true" | |||
EndSection | |||
''; | |||
</pre> | |||
The HW cursor support was very laggy when tried on 20.03 so enabling the software cursor may be desired: | |||
<pre> | |||
services.xserver.deviceSection = "Option \"SWcursor\" \"on\""; | |||
</pre> | |||
== Resources == | == Resources == | ||