Merge pull request #1730 from flokli/pocket-iio

gpd/pocket-{3,4}: enable IIO
This commit is contained in:
Florian Klink 2026-01-14 13:29:35 +00:00 committed by GitHub
commit efe2094529
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,9 @@ in
"video=DSI-1:panel_orientation=right_side_up"
];
# Turn on IIO for accelerometer screen rotation.
hardware.sensor.iio.enable = lib.mkDefault true;
fonts.fontconfig = {
subpixel.rgba = "vbgr"; # Pixel order for rotated screen

View file

@ -23,6 +23,9 @@ in
];
};
# Turn on IIO for accelerometer screen rotation.
hardware.sensor.iio.enable = lib.mkDefault true;
fonts.fontconfig = {
subpixel.rgba = "vbgr"; # Pixel order for rotated screen