nixos manual: disable ipv6 per interface

from a discussion on #13293
This commit is contained in:
Langston Barrett 2016-09-08 18:12:05 +00:00
parent 02bda5d2af
commit 2ab6020930

View file

@ -12,8 +12,15 @@ can disable IPv6 support globally by setting:
<programlisting>
networking.enableIPv6 = false;
</programlisting>
</programlisting></para>
<para>You can disable IPv6 on a single interface using a normal sysctl (in this
example, we use interface <varname>eth0</varname>):
<programlisting>
boot.kernel.sysctl."net.ipv6.conf.eth0.disable_ipv6" = true;
</programlisting>
</para>
</section>