modules/initrd-kernel: Remove unused firmwares option and rely on NixOS option
@@ -18,7 +18,7 @@ let
kernel = cfg.package;
allowMissing = true;
rootModules = cfg.modules ++ cfg.additionalModules;
- firmware = cfg.firmwares;
+ firmware = config.hardware.firmware;
};
inherit (config.mobile.quirks) supportsStage-0;
@@ -64,13 +64,6 @@ in
They will not be modprobed.
'';
};
- firmwares = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- Firmwares to add to the closure.
- '';
- };
# We cannot use `linuxPackagesFor` as older kernels cause eval-time assertions...
# This is bad form, but is already in nixpkgs :(.
package = mkOption {
