mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-12 01:00:43 +01:00
22 lines
719 B
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;
|
|
}
|