diff options
author | aszlig <aszlig@nix.build> | 2018-05-15 14:47:51 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-05-15 14:54:57 +0200 |
commit | a7f79620accdb40282fef1d50d86762a978a8ed7 (patch) | |
tree | 8d6ffee63c8461e258ae1644d18ef2c8a57aea06 /nixos/doc/manual/configuration | |
parent | 97071e5e151285d69c9ef9c1accd3921e54663b4 (diff) | |
download | nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar.gz nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar.bz2 nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar.lz nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar.xz nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.tar.zst nixlib-a7f79620accdb40282fef1d50d86762a978a8ed7.zip |
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 <aszlig@nix.build> Cc: @rycee, @matthewbauer
Diffstat (limited to 'nixos/doc/manual/configuration')
-rw-r--r-- | nixos/doc/manual/configuration/linux-kernel.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/doc/manual/configuration/linux-kernel.xml b/nixos/doc/manual/configuration/linux-kernel.xml index 0990e9d932ba..6502aaec83e5 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: <xref linkend="opt-boot.kernelModules"/> = [ "fuse" "kvm-intel" "coretemp" ]; </programlisting> If the module is required early during the boot (e.g. to mount the root file - system), you can use <xref linkend="opt-boot.initrd.extraKernelModules"/>: + system), you can use <xref linkend="opt-boot.initrd.kernelModules"/>: <programlisting> -<xref linkend="opt-boot.initrd.extraKernelModules"/> = [ "cifs" ]; +<xref linkend="opt-boot.initrd.kernelModules"/> = [ "cifs" ]; </programlisting> This causes the specified modules and their dependencies to be added to the initial ramdisk. |