g733qs: lates linux only if kernel older than 5.12

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
pasqui23andJörg Thalheim authored and GitHub committed 2021-11-24 20:49:28 +00:00
1 parent 4161f8aee8
commit 2051241010
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@
options snd-hda-intel patch=hda-jack-retask.fw
'';
# before 5.12 it would interpret every keystroke as the power button
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (lib.mkDefault pkgs.linuxPackages_latest);
hardware.nvidia.prime = {
offload.enable = lib.mkDefault true;