summary refs log tree commit diff
path: root/nixos/modules/services/networking/tinc.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-10-18 21:34:17 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-10-18 21:37:56 +0100
commit5a1f0f9aa363af6fe07926d7710c29f54b30919c (patch)
treee78bc57dcfc15f8946ba2fe5abbb72f58b03850a /nixos/modules/services/networking/tinc.nix
parentc7e7e16b3eeb887e1975b5f5f12e884e1366c9d6 (diff)
downloadnixpkgs-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.nix8
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}")
       ({