summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Hebendanz <luis.nixos@gmail.com>2020-02-12 10:52:49 +0100
committerGitHub <noreply@github.com>2020-02-12 10:52:49 +0100
commitf6e2381344544751ce3eda7f95c71a190ee6a639 (patch)
treee05de86bf4616158c9999d37b92996e4207179cf
parentd75b12a962d403e053fc3e547a3f1f2003ea4387 (diff)
Update lenovo/thinkpad/e495/default.nix
Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
-rw-r--r--lenovo/thinkpad/e495/default.nix3
1 files changed, 2 insertions, 1 deletions
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;
}