lenovo/thinkpad/p14s: align with Thinkpad T14 configs

This commit is contained in:
Tad Fisher
2023-10-13 19:01:16 -07:00
committed by mergify[bot]
parent 2a964239f6
commit 050f52eb55
3 changed files with 35 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
{ lib, pkgs, ... }:
{
imports = [
../.
../../../../common/cpu/amd
../../../../common/gpu/amd
];
# For support of newer AMD GPUs, backlight and internal microphone
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.8") pkgs.linuxPackages_latest;
}

View File

@@ -1,9 +1,7 @@
{ lib, pkgs, config, ... }:
{
imports = [
../../../../../common/pc/laptop/acpi_call.nix
../../../../../common/cpu/amd
../../../../../common/gpu/amd
../.
];
# For suspending to RAM, set Config -> Power -> Sleep State to "Linux" in EFI.