Jump to content

Linux kernel: Difference between revisions

→‎Custom kernel modules: Use better example that doesn't need an extra explanation
imported>Jmarmstrong1207
(Modify "Custom kernel commandline" to "Customizing kernel module parameters". Adds a guide for setting modprobe conf settings and clarifies things)
(→‎Custom kernel modules: Use better example that doesn't need an extra explanation)
Line 54: Line 54:
{ config, ... }:
{ config, ... }:
{
{
   boot.extraModulePackages = with config.boot.kernelPackages; [ wireguard ];
   boot.extraModulePackages = with config.boot.kernelPackages; [ bbswitch ];
}
}
</syntaxHighlight>
</syntaxHighlight>
Note that wireguard has been merged into the mainline kernel, so on newer (21.05+) versions of NixOS with the default kernel wireguard is no longer an option available.


=== Customizing kernel module parameters ===
=== Customizing kernel module parameters ===
142

edits