summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-12-06 14:38:16 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2022-12-06 14:38:16 +0100
commitfa257ecb332118786db8e6f635bbd0970838a6e0 (patch)
tree8161dab89096938af8bf8f9ae78ae5d3510d0f12
parentfcf0e540b16eb487e7bf131e52d8002e643aeb5e (diff)
downloadnixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar.gz
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar.bz2
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar.lz
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar.xz
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.tar.zst
nixpkgs-fa257ecb332118786db8e6f635bbd0970838a6e0.zip
nixos/kernel: link manual (with backport policies) from boot.kernelPackages
Yes I know it's dirty to link the rendered HTML, but linking
`#sec-kernel-config` breaks the manual build for me with the following
error:

    element link: validity error : IDREF attribute linkend references an unknown ID "sec-kernel-config"

This is something that should probably be fixed, but for the current
change I'd argue that this is good enough (in fact even the
`nix.settings`-option uses that hack).
-rw-r--r--nixos/modules/system/boot/kernel.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 6783f8ec62f..b13e50cb17d 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -62,6 +62,11 @@ in
         configuration.  For instance, if you use the NVIDIA X driver,
         then it also needs to contain an attribute
         {var}`nvidia_x11`.
+
+        Please note that we strictly support kernel versions that are
+        maintained by the Linux developers only. More information on the
+        availability of kernel versions is documented
+        [in the Linux section of the manual](https://nixos.org/manual/nixos/unstable/index.html#sec-kernel-config).
       '';
     };