Skip to content

Commit

Permalink
g733qs: lates linux only if kernel older than 5.12
Browse files Browse the repository at this point in the history
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
  • Loading branch information
pasqui23 and Mic92 authored Nov 24, 2021
1 parent 4161f8a commit 2051241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asus/rog-strix/g733qs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2051241

Please sign in to comment.