From 3d983701f9f6f247d272adb46d834bf591a47938 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 11 Mar 2020 00:09:55 -0700 Subject: lenovo/thinkpad/t495: init from e495. The E495 and T495 are based on the same core Ryzen platform, so the E495 tweaks apply similarly to the T495. Tested on my own T495, works well. --- README.md | 1 + lenovo/thinkpad/t495/default.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lenovo/thinkpad/t495/default.nix diff --git a/README.md b/README.md index ca011c4..8567028 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ See code for all available configurations. | Lenovo ThinkPad T470s | `` | | Lenovo ThinkPad T480s | `` | | Lenovo ThinkPad T490 | `` | +| Lenovo ThinkPad T495 | `` | | Lenovo ThinkPad X140e | `` | | Lenovo ThinkPad X220 | `` | | Lenovo ThinkPad X230 | `` | diff --git a/lenovo/thinkpad/t495/default.nix b/lenovo/thinkpad/t495/default.nix new file mode 100644 index 0000000..51ddb5c --- /dev/null +++ b/lenovo/thinkpad/t495/default.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/amd + ]; + + # see https://github.com/NixOS/nixpkgs/issues/69289 + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest; +} -- cgit v1.2.3