xps-13-9310: fix evaluation

This commit is contained in:
Jörg Thalheim 2021-08-18 17:53:34 +02:00
parent 09ed30ff3b
commit 22f1a185cf

View file

@ -4,7 +4,7 @@
# Includes the Wi-Fi and Bluetooth firmware for the QCA6390.
hardware.enableRedistributableFirmware = true;
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_5_12;
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (lib.mkDefault pkgs.linuxPackages_latest);
# TODO: upstream this to NixOS
boot.kernelPatches = [{
name = "enable-qca6390-bluetooth";