nixos-option:tldr:e207d
The command nixos-option boot.kernelModules
is used to display the value of the kernelModules
option in the NixOS configuration.
In NixOS, the kernelModules
option allows users to specify a list of kernel modules that should be loaded at boot time. Kernel modules are separate pieces of code that can be dynamically loaded into the Linux kernel to provide additional functionality or support for specific hardware.
By running nixos-option boot.kernelModules
, you can see the list of kernel modules that are currently configured to be loaded during the boot process. This can be useful for troubleshooting hardware issues or checking which modules are enabled on your system.
The output of the command will be a list of kernel modules, each module being represented by its name.