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
This commit is contained in:
parent
97071e5e15
commit
a7f79620ac
@ -50,9 +50,9 @@ nixpkgs.config.packageOverrides = pkgs:
|
|||||||
<xref linkend="opt-boot.kernelModules"/> = [ "fuse" "kvm-intel" "coretemp" ];
|
<xref linkend="opt-boot.kernelModules"/> = [ "fuse" "kvm-intel" "coretemp" ];
|
||||||
</programlisting>
|
</programlisting>
|
||||||
If the module is required early during the boot (e.g. to mount the root file
|
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>
|
<programlisting>
|
||||||
<xref linkend="opt-boot.initrd.extraKernelModules"/> = [ "cifs" ];
|
<xref linkend="opt-boot.initrd.kernelModules"/> = [ "cifs" ];
|
||||||
</programlisting>
|
</programlisting>
|
||||||
This causes the specified modules and their dependencies to be added to the
|
This causes the specified modules and their dependencies to be added to the
|
||||||
initial ramdisk.
|
initial ramdisk.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user