nixos-hardware/microsoft/surface/surface-pro-intel/default.nix
2024-06-22 13:51:28 -04:00

24 lines
604 B
Nix

{ lib, ... }:
# This module is intended to support the Surface Pro range, specifically those with Intel CPUs.
# It's expected it will work equally well on many other Surface models, but they may need further
# config changes to work well.
{
imports = [
../common
../../../common/pc
../../../common/pc/ssd
# The Intel CPU module auto-includes Intel's GPU:
../../../common/cpu/intel
];
microsoft-surface.ipts.enable = true;
microsoft-surface.surface-control.enable = true;
services.thermald = lib.mkDefault {
enable = true;
configFile = ./thermal-conf.xml;
};
}