blob: d0d481f72a40e146a836d0940f7e022ce4a36e50 (
plain) (
tree)
|
|
{ config, lib, pkgs, ... }:
with lib;
{
###### interface
options = {
hardware.enableAllFirmware = mkOption {
default = false;
type = types.bool;
description = ''
Turn on this option if you want to enable all the firmware shipped in linux-firmware.
'';
};
};
###### implementation
config = mkIf config.hardware.enableAllFirmware {
hardware.firmware = [ pkgs.firmwareLinuxNonfree pkgs.intel2200BGFirmware ];
};
}
|