2024-06-22 13:51:28 -04:00
|
|
|
{ lib, ... }:
|
2023-01-10 08:11:52 -05:00
|
|
|
|
2023-01-10 16:57:10 -05:00
|
|
|
# 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.
|
|
|
|
|
2023-01-10 18:11:44 -05:00
|
|
|
{
|
2023-01-10 08:11:52 -05:00
|
|
|
imports = [
|
|
|
|
../common
|
2023-01-10 08:25:48 -05:00
|
|
|
../../../common/pc
|
|
|
|
../../../common/pc/ssd
|
2023-01-10 16:57:10 -05:00
|
|
|
# The Intel CPU module auto-includes Intel's GPU:
|
2023-01-10 08:25:48 -05:00
|
|
|
../../../common/cpu/intel
|
2023-01-10 08:11:52 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
microsoft-surface.ipts.enable = true;
|
|
|
|
microsoft-surface.surface-control.enable = true;
|
2024-06-22 13:51:28 -04:00
|
|
|
|
|
|
|
services.thermald = lib.mkDefault {
|
|
|
|
enable = true;
|
|
|
|
configFile = ./thermal-conf.xml;
|
|
|
|
};
|
2023-01-10 08:11:52 -05:00
|
|
|
}
|