mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 08:47:13 +08:00
Add specialisation for Surface Laptop (AMD)
This commit is contained in:
22
microsoft/surface/surface-laptop-amd/default.nix
Normal file
22
microsoft/surface/surface-laptop-amd/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, ... }:
|
||||
|
||||
# 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.
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in {
|
||||
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).
|
||||
microsoft-surface.ipts.enable = true;
|
||||
microsoft-surface.surface-control.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user