t14s,p14s: remove rtw89-firmware if linux-firmware new enough

This commit is contained in:
Naïm Favier 2023-02-22 14:02:07 +01:00
parent d24ea777c5
commit fb4ff6250e
No known key found for this signature in database
GPG key ID: 95AFCE8211908325
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;