Linux kernel: Difference between revisions
added linuxKernel.packages to configuration |
m Fix typos in example code |
||
Line 73: | Line 73: | ||
The config attribute <code>boot.kernelParams</code> can be set to supply the Linux kernel with additional command line arguments at boot time. It can only be used for built-in modules. | The config attribute <code>boot.kernelParams</code> can be set to supply the Linux kernel with additional command line arguments at boot time. It can only be used for built-in modules. | ||
< | <syntaxhighlight lang="nix"> | ||
{ | { ... }: | ||
{ | { | ||
boot.kernelParams = [ | boot.kernelParams = [ | ||
# example settings | |||
"quiet" | "quiet" | ||
"splash" | "splash" | ||
usbcore.blinkenlights=1 | "usbcore.blinkenlights=1" # example kernel module parameter | ||
]; | ]; | ||
} | } | ||
</ | </syntaxhighlight> | ||
=== Custom configuration === | === Custom configuration === |