Linux kernel: Difference between revisions

Yinfeng (talk | contribs)
m Remove empty lines
Alyxbb (talk | contribs)
fix: example
Line 7: Line 7:
For example by adding this to  <code>/etc/nixos/configuration.nix</code>:
For example by adding this to  <code>/etc/nixos/configuration.nix</code>:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
boot.kernelPackages = pkgs.linuxKernel.packages.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_latest;
</syntaxhighlight>
</syntaxhighlight>
And rebuild your system and reboot to use your new kernel:
And rebuild your system and reboot to use your new kernel: