From a30c4834f48a8d4da5c5d46926287cda4665078a Mon Sep 17 00:00:00 2001 From: me00001 <37930867+me00001@users.noreply.github.com> Date: Thu, 29 Dec 2022 13:23:08 +0300 Subject: [PATCH] set a minimum kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- lenovo/yoga/6/13ALC6/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lenovo/yoga/6/13ALC6/default.nix b/lenovo/yoga/6/13ALC6/default.nix index 1697701..3b1cf96 100644 --- a/lenovo/yoga/6/13ALC6/default.nix +++ b/lenovo/yoga/6/13ALC6/default.nix @@ -12,8 +12,7 @@ libvdpau-va-gl ]; - # Latest Kernel - boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.1") pkgs.linuxPackages_latest; # energy savings hardware.bluetooth.powerOnBoot = lib.mkDefault false;