mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +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:
parent
4161f8aee8
commit
2051241010
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
options snd-hda-intel patch=hda-jack-retask.fw
|
options snd-hda-intel patch=hda-jack-retask.fw
|
||||||
'';
|
'';
|
||||||
# before 5.12 it would interpret every keystroke as the power button
|
# 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 = {
|
hardware.nvidia.prime = {
|
||||||
offload.enable = lib.mkDefault true;
|
offload.enable = lib.mkDefault true;
|
||||||
|
|
Loading…
Reference in a new issue