1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 03:19:42 +01:00

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

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;