From d75b12a962d403e053fc3e547a3f1f2003ea4387 Mon Sep 17 00:00:00 2001 From: Luis Hebendanz Date: Tue, 11 Feb 2020 19:42:02 +0100 Subject: [PATCH 1/3] Added profile for issues 69289 --- lenovo/thinkpad/e495/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lenovo/thinkpad/e495/default.nix diff --git a/lenovo/thinkpad/e495/default.nix b/lenovo/thinkpad/e495/default.nix new file mode 100644 index 0000000..ac0b949 --- /dev/null +++ b/lenovo/thinkpad/e495/default.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/amd + ]; + + boot.kernelPackages = pkgs.linuxPackages_5_2; +} From f6e2381344544751ce3eda7f95c71a190ee6a639 Mon Sep 17 00:00:00 2001 From: Luis Hebendanz Date: Wed, 12 Feb 2020 10:52:49 +0100 Subject: [PATCH 2/3] Update lenovo/thinkpad/e495/default.nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Jörg Thalheim --- lenovo/thinkpad/e495/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lenovo/thinkpad/e495/default.nix b/lenovo/thinkpad/e495/default.nix index ac0b949..5c78d99 100644 --- a/lenovo/thinkpad/e495/default.nix +++ b/lenovo/thinkpad/e495/default.nix @@ -6,5 +6,6 @@ ../../../common/cpu/amd ]; - boot.kernelPackages = pkgs.linuxPackages_5_2; + # see https://github.com/NixOS/nixpkgs/issues/69289 + boot.kernelPackages = lib.mkIf (lib.versionOlder linux.version "5.2") pkgs.linuxPackages_latest; } From 6c7550d0b40932c9263960ff07d60318bbd59a65 Mon Sep 17 00:00:00 2001 From: Luis Hebendanz Date: Wed, 12 Feb 2020 10:56:49 +0100 Subject: [PATCH 3/3] Added entry Thnikpad E495 to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7d79785..68ba99a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ See code for all available configurations. | [Dell XPS 15 9550][] | `` | | [Inverse Path USB armory][] | `` | | Lenovo IdeaPad Z510 | `` | +| Lenovo ThinkPad E495 | `` | | Lenovo ThinkPad L13 | `` | | Lenovo ThinkPad P53 | `` | | Lenovo ThinkPad T410 | `` |