You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
480 B
27 lines
480 B
13 years ago
|
{pkgs, config, ...}:
|
||
|
|
||
|
{
|
||
|
|
||
|
###### interface
|
||
|
|
||
|
options = {
|
||
|
|
||
13 years ago
|
hardware.enableAllFirmware = pkgs.lib.mkOption {
|
||
13 years ago
|
default = false;
|
||
|
type = pkgs.lib.types.bool;
|
||
|
description = ''
|
||
13 years ago
|
Turn on this option if you want to enable all the firmware shipped with Debian/Ubuntu.
|
||
13 years ago
|
'';
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
###### implementation
|
||
|
|
||
13 years ago
|
config = pkgs.lib.mkIf config.hardware.enableAllFirmware {
|
||
11 years ago
|
hardware.firmware = [ "${pkgs.firmwareLinuxNonfree}/lib/firmware" ];
|
||
13 years ago
|
};
|
||
|
|
||
|
}
|