starlabs: init, add starlite 5 tablet

This commit is contained in:
M. Ian Graham
2024-09-04 13:42:54 +01:00
committed by mergify[bot]
parent 502e0aed31
commit 04a1cda0c1
5 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# Turn on IIO for accelerometer screen rotation.
hardware.sensor.iio.enable = lib.mkDefault true;
# Accelerometer is mounted to display with inverted Y axis. Adjust!
services.udev.extraHwdb = ''
sensor:modalias:acpi:KIOX000A*:dmi:*:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
'';
}