From c53354d1d29dad754a80493748ce854d4c18ff53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Xaver=20H=C3=B6rl?= Date: Tue, 29 Jun 2021 08:29:16 +0200 Subject: [PATCH] nixos/rl-2111: mention changes to linux kernel infrastructure --- .../from_md/release-notes/rl-2111.section.xml | 14 ++++++++++++++ nixos/doc/manual/release-notes/rl-2111.section.md | 3 +++ 2 files changed, 17 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml index 68d09a778131..786414bc32c2 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml @@ -708,6 +708,20 @@
Other Notable Changes + + + The linux kernel package infrastructure was moved out of + all-packages.nix, and restructured. Linux + related functions and attributes now live under the + pkgs.linuxKernel attribute set. In + particular the versioned linuxPackages_* + package sets (such as linuxPackages_5_4) + and kernels from pkgs were moved there and + now live under pkgs.linuxKernel.packages.*. + The unversioned ones (such as + linuxPackages_latest) remain untouched. + + The setting diff --git a/nixos/doc/manual/release-notes/rl-2111.section.md b/nixos/doc/manual/release-notes/rl-2111.section.md index d7c38056ef61..76e0f7a966f8 100644 --- a/nixos/doc/manual/release-notes/rl-2111.section.md +++ b/nixos/doc/manual/release-notes/rl-2111.section.md @@ -181,6 +181,9 @@ To be able to access the web UI this port needs to be opened in the firewall. ## Other Notable Changes {#sec-release-21.11-notable-changes} +- The linux kernel package infrastructure was moved out of `all-packages.nix`, and restructured. Linux related functions and attributes now live under the `pkgs.linuxKernel` attribute set. + In particular the versioned `linuxPackages_*` package sets (such as `linuxPackages_5_4`) and kernels from `pkgs` were moved there and now live under `pkgs.linuxKernel.packages.*`. The unversioned ones (such as `linuxPackages_latest`) remain untouched. + - The setting [`services.openssh.logLevel`](options.html#opt-services.openssh.logLevel) `"VERBOSE"` `"INFO"`. This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets. However, if [`services.fail2ban.enable`](options.html#opt-services.fail2ban.enable) is `true`, the `fail2ban` will override the verbosity to `"VERBOSE"`, so that `fail2ban` can observe the failed login attempts from the SSH logs.