mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 12:09:45 +01:00
23 lines
624 B
Nix
23 lines
624 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
# 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
|
|
];
|
|
|
|
services.iptsd.enable = lib.mkDefault true;
|
|
environment.systemPackages = [ pkgs.surface-control ];
|
|
|
|
services.thermald = lib.mkDefault {
|
|
enable = true;
|
|
configFile = ./thermal-conf.xml;
|
|
};
|
|
}
|