nix-git/hosts/yodaTux/latest-kernel.nix

22 lines
719 B
Nix

{ config, pkgs, ... }:
{
# https://nixos.wiki/wiki/Linux_kernel#List_available_kernels
# List all available kernel versions:
# `nix repl` -> `:l <nixpkgs>` -> `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;
}