nixos/networkd: respect systemd.network.links also with disabled systemd-networkd

This mirrors the behaviour of systemd - It's udev that parses `.link`
files, not `systemd-networkd`.

This was originally applied in 36ef112a47,
but was reverted due to 1115959a8d causing
evaluation errors on hydra.
This commit is contained in:
Florian Klink
2020-03-19 14:15:32 +01:00
parent b00b66e262
commit 355c58e485
3 changed files with 80 additions and 34 deletions
+9 -1
View File
@@ -767,7 +767,15 @@ auth required pam_succeed_if.so uid >= 1000 quiet
</para></listitem>
</itemizedlist>
</para>
</listitem>
</listitem>
<listitem>
<para>
The <link linkend="opt-systemd.network.links">systemd.network.links</link> option is now respected
even when <link linkend="opt-systemd.network.enable">systemd-networkd</command> is disabled.
This mirrors the behaviour of systemd - It's udev that parses <literal>.link</literal> files,
not <command>systemd-networkd</command>.
</para>
</listitem>
</itemizedlist>
</section>
</section>