{ config, pkgs, ... }: { # https://nixos.wiki/wiki/Linux_kernel#List_available_kernels # List all available kernel versions: # `nix repl` -> `:l ` -> `pkgs.linuxPackages` and press `TAB` # Default value. #boot.kernelPackages = pkgs.linuxPackages; # Latest stable. boot.kernelPackages = pkgs.linuxPackages_latest; # Latest unstable. #boot.kernelPackages = pkgs.unstable.linuxPackages_latest; # Hardened. # https://archlinux.org/packages/extra/x86_64/linux-hardened/ # -> https://github.com/anthraxx/linux-hardened #boot.kernelPackages = pkgs.linuxPackages_hardened; # Free/Libre. # https://en.wikipedia.org/wiki/Linux-libre #boot.kernelPackages = pkgs.linuxPackages-libre; }