diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-10-18 21:34:17 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-10-18 21:37:56 +0100 |
commit | 5a1f0f9aa363af6fe07926d7710c29f54b30919c (patch) | |
tree | e78bc57dcfc15f8946ba2fe5abbb72f58b03850a /nixos/modules/services/networking/tinc.nix | |
parent | c7e7e16b3eeb887e1975b5f5f12e884e1366c9d6 (diff) | |
download | nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar.gz nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar.bz2 nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar.lz nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar.xz nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.tar.zst nixpkgs-5a1f0f9aa363af6fe07926d7710c29f54b30919c.zip |
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
Diffstat (limited to 'nixos/modules/services/networking/tinc.nix')
-rw-r--r-- | nixos/modules/services/networking/tinc.nix | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix index 35cdddc590b..3379efd1afc 100644 --- a/nixos/modules/services/networking/tinc.nix +++ b/nixos/modules/services/networking/tinc.nix @@ -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}") ({ |