Linux kernel: Difference between revisions
m Remove empty lines |
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 | 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: |