nixos, doc: named nylons

This commit is contained in:
Edward Tjörnhammar 2017-02-09 21:16:20 +01:00
parent 378662bbba
commit 3c9d73f100
No known key found for this signature in database
GPG Key ID: 7B82CE4A866B6845

View File

@ -117,6 +117,36 @@ following incompatible changes:</para>
</para>
</listitem>
<listitem>
<para>
<literal>service.nylon</literal> is now declared using named instances.
As an example:
<programlisting>
services.nylon = {
enable = true;
acceptInterface = "br0";
bindInterface = "tun1";
port = 5912;
};
</programlisting>
should be replaced with:
<programlisting>
services.nylon.myvpn = {
enable = true;
acceptInterface = "br0";
bindInterface = "tun1";
port = 5912;
};
</programlisting>
this enables you to declare a SOCKS proxy for each uplink.
</para>
</listitem>
<listitem>
<para><literal>overridePackages</literal> function no longer exists.
It is replaced by <link