t14s,p14s: remove rtw89-firmware if linux-firmware new enough
This commit is contained in:
parent
d24ea777c5
commit
fb4ff6250e
|
@ -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;
|
||||
|
|
|
@ -6,7 +6,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;
|
||||
|
|
Loading…
Reference in a new issue