From 9d36eb67f295804919e04d91493f9ad20a60cb65 Mon Sep 17 00:00:00 2001 From: hoppla20 Date: Thu, 1 Oct 2020 07:54:29 +0200 Subject: [PATCH] Update default.nix --- lenovo/thinkpad/e470/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lenovo/thinkpad/e470/default.nix b/lenovo/thinkpad/e470/default.nix index 6920ca5..c9bf833 100644 --- a/lenovo/thinkpad/e470/default.nix +++ b/lenovo/thinkpad/e470/default.nix @@ -15,5 +15,5 @@ nvidiaBusId = lib.mkDefault "PCI:1:0:0"; }; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.6") pkgs.linuxPackages_latest; }