Hardware/Asus/TP300LA: Difference between revisions
m Make Title look nice |
m fixed a typo |
||
Line 24: | Line 24: | ||
Meanwhile, adding this to your configuration.nix will configure the sensor appropriately. | Meanwhile, adding this to your configuration.nix will configure the sensor appropriately. | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang="nix"> | ||
{ config }: | { config }: | ||
{ | { | ||
hardware.sensor.iio.enable = true; | hardware.sensor.iio.enable = true; | ||
# Accelerometer orientation; upstreaming in | # Accelerometer orientation; upstreaming in progress. | ||
# https://github.com/systemd/systemd/pull/7752 | # https://github.com/systemd/systemd/pull/7752 | ||
services.udev.extraHwdb = '' | services.udev.extraHwdb = '' |