boot.kernelModules
The set of kernel modules to be loaded in the second stage of
the boot process. Note that modules that are needed to
mount the root file system should be added to
boot.initrd.availableKernelModules or
boot.initrd.kernelModules.
This can either be a list of modules, or an attrset. In an
attrset, names that are set to true represent modules that will
be included. Note that setting these names to false does not
prevent the module from being loaded. For that, use
boot.blacklistedKernelModules.
- Type
(attribute set of boolean) or (list of string) convertible to it- Default
{ }- Declared
- <nixpkgs/nixos/modules/system/boot/kernel.nix>