tinc: remove unnecessary networking.interfaces

This breaks with networking backends enabled and
also creates large delays on boot when some services depends
on the network target. It is also not really required
because tinc does create those interfaces itself.

fixes #27070
This commit is contained in:
Jörg Thalheim 2018-10-18 21:34:17 +01:00
parent c7e7e16b3e
commit 5a1f0f9aa3
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -148,14 +148,6 @@ in
} }
)); ));
networking.interfaces = flip mapAttrs' cfg.networks (network: data: nameValuePair
("tinc.${network}")
({
virtual = true;
virtualType = "${data.interfaceType}";
})
);
systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair
("tinc.${network}") ("tinc.${network}")
({ ({