Forrest logo
back to the nixos-option tool

nixos-option:tldr:e207d

nixos-option: List current boot kernel modules.
$ nixos-option boot.kernelModules
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nixos-option tool