mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
lenovo/thinkpad/p14s: align with Thinkpad T14 configs
This commit is contained in:
12
lenovo/thinkpad/p14s/amd/default.nix
Normal file
12
lenovo/thinkpad/p14s/amd/default.nix
Normal 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;
|
||||
}
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user