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:
pasqui23 2021-11-24 20:49:28 +00:00 committed by GitHub
parent 4161f8aee8
commit 2051241010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;