Add auto-rotation support and sensor configuration
This commit adds support for auto-rotation by enabling the hardware sensor and configuring the sensor.hwdb file.
This commit is contained in:
@@ -49,4 +49,8 @@ in {
|
||||
|
||||
# Setup bluetooth
|
||||
hardware.bluetooth.enable = true;
|
||||
|
||||
# Setup auto-rotaion
|
||||
hardware.sensor.iio.enable = true;
|
||||
environment.etc."/etc/udev/hwdb.d/61-gpd-pocket3-sensor-local.hwdb".source = ./sensor.hwdb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user