Skip to content

Commit

Permalink
p14s, t14s: remove linux-firmware version check
Browse files Browse the repository at this point in the history
nixpkgs is currently using the `unstable-` version

See NixOS/nixpkgs@beb6196
  • Loading branch information
dadada authored and Mic92 committed Jul 30, 2023
1 parent ba9650b commit 67b0b87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions lenovo/thinkpad/p14s/amd/gen2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
4 changes: 0 additions & 4 deletions lenovo/thinkpad/t14s/amd/gen1/default.nix
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 67b0b87

Please sign in to comment.