Merge pull request #199 from dadada/dadada/t14s
This commit is contained in:
commit
46a68df837
|
@ -101,6 +101,7 @@ See code for all available configurations.
|
||||||
| Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> |
|
| Lenovo ThinkPad L14 (AMD) | `<nixos-hardware/lenovo/thinkpad/l14/amd> |
|
||||||
| Lenovo ThinkPad P53 | `<nixos-hardware/lenovo/thinkpad/p53>` |
|
| Lenovo ThinkPad P53 | `<nixos-hardware/lenovo/thinkpad/p53>` |
|
||||||
| Lenovo ThinkPad T14s | `<nixos-hardware/lenovo/thinkpad/t14s>` |
|
| Lenovo ThinkPad T14s | `<nixos-hardware/lenovo/thinkpad/t14s>` |
|
||||||
|
| Lenovo ThinkPad T14s AMD Gen 1 | `<nixos-hardware/lenovo/thinkpad/t14s/amd/gen1>` |
|
||||||
| Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` |
|
| Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` |
|
||||||
| Lenovo ThinkPad T420 | `<nixos-hardware/lenovo/thinkpad/t420>` |
|
| Lenovo ThinkPad T420 | `<nixos-hardware/lenovo/thinkpad/t420>` |
|
||||||
| Lenovo ThinkPad T430 | `<nixos-hardware/lenovo/thinkpad/t430>` |
|
| Lenovo ThinkPad T430 | `<nixos-hardware/lenovo/thinkpad/t430>` |
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd;
|
lenovo-thinkpad-l14-amd = import ./lenovo/thinkpad/l14/amd;
|
||||||
lenovo-thinkpad-p53 = import ./lenovo/thinkpad/p53;
|
lenovo-thinkpad-p53 = import ./lenovo/thinkpad/p53;
|
||||||
lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s;
|
lenovo-thinkpad-t14s = import ./lenovo/thinkpad/t14s;
|
||||||
|
lenovo-thinkpad-t14s-amd-gen1 = import ./lenovo/thinkpad/t14s/amd/gen1;
|
||||||
lenovo-thinkpad-t410 = import ./lenovo/thinkpad/t410;
|
lenovo-thinkpad-t410 = import ./lenovo/thinkpad/t410;
|
||||||
lenovo-thinkpad-t420 = import ./lenovo/thinkpad/t420;
|
lenovo-thinkpad-t420 = import ./lenovo/thinkpad/t420;
|
||||||
lenovo-thinkpad-t430 = import ./lenovo/thinkpad/t430;
|
lenovo-thinkpad-t430 = import ./lenovo/thinkpad/t430;
|
||||||
|
|
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,10 +3,14 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/amd
|
|
||||||
../../../common/pc/laptop/acpi_call.nix
|
../../../common/pc/laptop/acpi_call.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI.
|
||||||
|
# See https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Suspend_issues
|
||||||
|
|
||||||
|
# Fingerprint sensor requires a firmware-update to work.
|
||||||
|
|
||||||
# Force use of the thinkpad_acpi driver for backlight control.
|
# Force use of the thinkpad_acpi driver for backlight control.
|
||||||
# This allows the backlight save/load systemd service to work.
|
# This allows the backlight save/load systemd service to work.
|
||||||
boot.kernelParams = [ "acpi_backlight=native" ];
|
boot.kernelParams = [ "acpi_backlight=native" ];
|
||||||
|
|
Loading…
Reference in a new issue