p14s, t14s: remove linux-firmware version check

nixpkgs is currently using the `unstable-` version

See beb6196e9e
This commit is contained in:
dadada 2023-07-29 18:36:29 +02:00 committed by Jörg Thalheim
parent ba9650b14e
commit 67b0b87fd8
2 changed files with 0 additions and 8 deletions

View file

@ -10,10 +10,6 @@
# acpi_backlight=none allows the backlight save/load systemd service to work on older kernel versions
boot.kernelParams = [ "amdgpu.backlight=0" ] ++ lib.optional (lib.versionOlder config.boot.kernelPackages.kernel.version "6.1.6") "acpi_backlight=none";
# Wifi support
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

@ -1,12 +1,8 @@
{ lib, pkgs, ... }:
{
imports = [
../.
];
# Wifi support
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;