From f6e2381344544751ce3eda7f95c71a190ee6a639 Mon Sep 17 00:00:00 2001 From: Luis Hebendanz Date: Wed, 12 Feb 2020 10:52:49 +0100 Subject: [PATCH] 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; }