commit f88436cc3c7b91bb18d1434fbb05ea83f4112284
parent b14e18253f76b72b0c9c0e82127196d085699ec9
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 23 Nov 2023 10:06:35 +0100
wakasu: enable iio sensors
Try to see if I can have ambient light "setup" on the X1 carbon.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/systems/hosts/wakasu.nix b/systems/hosts/wakasu.nix
@@ -65,6 +65,7 @@ in
kernelPackages = pkgs.linuxPackages_latest;
};
+ hardware.sensor.iio.enable = true;
services.udev.extraRules = ''
# STM32 rules for the Moonlander and Planck EZ
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \