mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
t14s: add AMD Gen1 model
t14s: fix minimum required kernel version
This commit is contained in:
parent
81b5488961
commit
04c79afe1c
5 changed files with 21 additions and 1 deletions
11
lenovo/thinkpad/t14s/amd/default.nix
Normal file
11
lenovo/thinkpad/t14s/amd/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/cpu/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;
|
||||
}
|
||||
8
lenovo/thinkpad/t14s/amd/gen1/default.nix
Normal file
8
lenovo/thinkpad/t14s/amd/gen1/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../.
|
||||
];
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/cpu/amd
|
||||
../../../common/pc/laptop/acpi_call.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue