Files
nixos-hardware/starlabs/starlite/i5/default.nix
Peter Bittner 7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00

18 lines
436 B
Nix

{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/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
'';
}