mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +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
This commit is contained in:
parent
c7e7e16b3e
commit
5a1f0f9aa3
@ -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}")
|
||||
({
|
||||
|
Loading…
Reference in New Issue
Block a user