1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 03:29:44 +01:00
nixos-hardware/microsoft/surface/surface-pro-intel/default.nix

24 lines
624 B
Nix
Raw Normal View History

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