nixos-hardware
nixos-hardware copied to clipboard
lenovo/legion/16arha7: fix kernel check for speaker patch
Description of changes
This fixes an incorrect comparison between kernel versions, which resulted in a build error. Now, we'll only apply the patch if the kernel version is below 6.10 (i.e. 6.9.X or older).
Things done
- [X] Tested the changes in your own NixOS Configuration
- [X] Tested the changes end-to-end by using your fork of
nixos-hardwareand importing it via<nixos-hardware>or Flake input