mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
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
(cherry picked from commit 5a1f0f9aa3)
This commit is contained in:
@@ -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
|
||||
("tinc.${network}")
|
||||
({
|
||||
|
||||
Reference in New Issue
Block a user