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