mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-03 22:43:30 +01:00
Merge pull request #1730 from flokli/pocket-iio
gpd/pocket-{3,4}: enable IIO
This commit is contained in:
2 files changed
+6
No files matched your search
@@ -36,6 +36,9 @@ in
|
|||||||
"video=DSI-1:panel_orientation=right_side_up"
|
"video=DSI-1:panel_orientation=right_side_up"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Turn on IIO for accelerometer screen rotation.
|
||||||
|
hardware.sensor.iio.enable = lib.mkDefault true;
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
subpixel.rgba = "vbgr"; # Pixel order for rotated screen
|
subpixel.rgba = "vbgr"; # Pixel order for rotated screen
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Turn on IIO for accelerometer screen rotation.
|
||||||
|
hardware.sensor.iio.enable = lib.mkDefault true;
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
subpixel.rgba = "vbgr"; # Pixel order for rotated screen
|
subpixel.rgba = "vbgr"; # Pixel order for rotated screen
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user