1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-15 23:49:41 +01:00
nixos-hardware/gpd/win-max-2/2023/default.nix
2024-02-13 10:56:22 +00:00

17 lines
453 B
Nix

{ config, lib, ...}:
with lib;
{
imports = [
./..
../../../common/cpu/amd
../../../common/cpu/amd/pstate.nix
../../../common/gpu/amd
./bmi260
];
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;
}