diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix index 6e7f0bb491a..ceca3b887b5 100644 --- a/nixos/modules/hardware/all-firmware.nix +++ b/nixos/modules/hardware/all-firmware.nix @@ -23,11 +23,12 @@ with lib; config = mkIf config.hardware.enableAllFirmware { hardware.firmware = with pkgs; [ - broadcom-bt-firmware firmwareLinuxNonfree intel2200BGFirmware rtl8723bs-firmware rtl8192su-firmware + ] ++ optionals config.nixpkgs.config.allowUnfree [ + broadcom-bt-firmware ]; }; diff --git a/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix b/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix index 23970097d4a..87232acfa83 100644 --- a/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix +++ b/pkgs/os-specific/linux/firmware/broadcom-bt-firmware/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Firmware for Broadcom WIDCOMM® Bluetooth devices"; homepage = http://www.catalog.update.microsoft.com/Search.aspx?q=Broadcom+bluetooth; - license = licenses.unfreeRedistributableFirmware; + license = licenses.unfree; platforms = platforms.linux; maintainers = with maintainers; [ zraexy ]; };