From 9f71de75aff50ca8bb4392ab7ea979f41da5f031 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Mon, 13 Nov 2017 13:42:20 -0500 Subject: [PATCH] rtl8723bs: Only include in enableAllFirmware if valid --- nixos/modules/hardware/all-firmware.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {