1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-10 04:59:40 +01:00
nixos-hardware/gpd/win-max-2/2023/default.nix

18 lines
453 B
Nix
Raw Normal View History

2023-12-25 21:14:17 +01:00
{ config, lib, ...}:
2023-12-25 02:04:38 +01:00
with lib;
{
imports = [
./..
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
2024-02-11 07:46:44 +01:00
./bmi260
2023-12-25 02:04:38 +01:00
];
2024-02-11 07:46:44 +01: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 02:04:38 +01:00
}