From a7f79620accdb40282fef1d50d86762a978a8ed7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 15 May 2018 14:47:51 +0200 Subject: [PATCH] nixos: Fix build of the manual The manual still had a reference to an option that was already renamed ages ago and a7ed44ccadfcf1bd54d0197fbc87b6c1b0bcef7b made it 'visible'. With the visible attribute set to false for extraKernelModules, the option no longer appears in the manual and thus breaks the link from the manual to the options. This is easily fixed by referring to boot.initrd.kernelModules instead of the obsolete option boot.initrd.extraKernelModules. Signed-off-by: aszlig Cc: @rycee, @matthewbauer --- nixos/doc/manual/configuration/linux-kernel.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/configuration/linux-kernel.xml b/nixos/doc/manual/configuration/linux-kernel.xml index 0990e9d932b..6502aaec83e 100644 --- a/nixos/doc/manual/configuration/linux-kernel.xml +++ b/nixos/doc/manual/configuration/linux-kernel.xml @@ -50,9 +50,9 @@ nixpkgs.config.packageOverrides = pkgs: = [ "fuse" "kvm-intel" "coretemp" ]; If the module is required early during the boot (e.g. to mount the root file - system), you can use : + system), you can use : - = [ "cifs" ]; + = [ "cifs" ]; This causes the specified modules and their dependencies to be added to the initial ramdisk.