nixos-hardware/gpd/win-max-2/2023/default.nix

18 lines
453 B
Nix
Raw Normal View History

2023-12-25 20:14:17 +00:00
{ config, lib, ...}:
2023-12-25 01:04:38 +00:00
with lib;
{
imports = [
./..
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
2024-02-11 06:46:44 +00:00
./bmi260
2023-12-25 01:04:38 +00:00
];
2024-02-11 06:46:44 +00:00
hardware.sensor.iio.bmi260.enable = lib.mkDefault true;
#see README
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;
2023-12-25 01:04:38 +00:00
}