mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
t14s,p14s: remove rtw89-firmware if linux-firmware new enough
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
# Wifi support
|
||||
hardware.firmware = [ pkgs.rtw89-firmware ];
|
||||
hardware.firmware = lib.mkIf (lib.versionOlder pkgs.linux-firmware.version "20230210") [ pkgs.rtw89-firmware ];
|
||||
|
||||
# For mainline support of rtw89 wireless networking
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.16") pkgs.linuxPackages_latest;
|
||||
|
||||
Reference in New Issue
Block a user