diff options
author | Tim Steinbach <tim@nequissimus.com> | 2017-11-13 13:42:20 -0500 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2018-02-22 08:52:50 -0500 |
commit | 9f71de75aff50ca8bb4392ab7ea979f41da5f031 (patch) | |
tree | 72ae1c5e72e3e3b33b4f647ea2b61c39f1a02d85 /nixos/modules/hardware/all-firmware.nix | |
parent | 6b707cfa0a90e5c577ab66637d315d786ccb7f1d (diff) |
rtl8723bs: Only include in enableAllFirmware if valid
Diffstat (limited to 'nixos/modules/hardware/all-firmware.nix')
-rw-r--r-- | nixos/modules/hardware/all-firmware.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix index afaa65f6ce35..b61acf1815d9 100644 --- a/nixos/modules/hardware/all-firmware.nix +++ b/nixos/modules/hardware/all-firmware.nix @@ -37,8 +37,9 @@ in { hardware.firmware = with pkgs; [ firmwareLinuxNonfree intel2200BGFirmware - rtl8723bs-firmware rtl8192su-firmware + ] ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [ + rtl8723bs-firmware ]; }) (mkIf cfg.enableAllFirmware { |