mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
gpd-win-max-2-2023: enable iio subsystem
This commit is contained in:
@@ -13,4 +13,5 @@ with lib;
|
|||||||
|
|
||||||
#see README
|
#see README
|
||||||
boot.blacklistedKernelModules = mkIf config.hardware.sensor.iio.bmi260.enable [ "bmi160_spi" "bmi160_i2c" "bmi160_core" ];
|
boot.blacklistedKernelModules = mkIf config.hardware.sensor.iio.bmi260.enable [ "bmi160_spi" "bmi160_i2c" "bmi160_core" ];
|
||||||
|
hardware.sensor.iio.enable = mkIf config.hardware.sensor.iio.bmi260.enable true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user