2024-06-21 00:45:41 +00:00
|
|
|
{ lib, pkgs, ... }:
|
2023-01-10 22:13:46 +00:00
|
|
|
|
|
|
|
# This module is intended to support the Surface Laptop range, specifically those with AMD 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 22:13:46 +00:00
|
|
|
imports = [
|
|
|
|
../common
|
|
|
|
../../../common/pc
|
|
|
|
../../../common/pc/ssd
|
|
|
|
../../../common/cpu/amd
|
|
|
|
../../../common/cpu/amd/pstate.nix
|
|
|
|
../../../common/gpu/amd
|
|
|
|
];
|
|
|
|
|
|
|
|
# Note: The IPTS module is not often required on devices with Surface Laptop 3 (AMD).
|
2024-06-21 00:45:41 +00:00
|
|
|
services.iptsd.enable = lib.mkDefault true;
|
|
|
|
environment.systemPackages = [ pkgs.surface-control ];
|
2023-01-10 22:13:46 +00:00
|
|
|
}
|