summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJesper Geertsen Jonsson <yesbox@users.noreply.github.com>2018-06-10 22:02:17 +0200
committerJesper Geertsen Jonsson <yesbox@users.noreply.github.com>2018-06-27 15:43:55 +0200
commit1327218d8a5ab95c01f6473a433801c587b05bc4 (patch)
treea1caac924cc4e4752a0a25e3eaa86236f655a9ab /nixos
parent9ce041a8c7b835ee23daf9bb74a864170da9637e (diff)
downloadnixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar.gz
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar.bz2
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar.lz
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar.xz
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.tar.zst
nixlib-1327218d8a5ab95c01f6473a433801c587b05bc4.zip
zerotier: interface names changed; fix no dhcp
Since ZT v1.2.8:
ZT interface names are no longer named zt<sequence number>.
Instead they are by default named zt<network hash>.

https://www.zerotier.com/blog/2018-05-04-128.shtml
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/zerotierone.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/zerotierone.nix b/nixos/modules/services/networking/zerotierone.nix
index cd1617b8e2ba..4c1ee75d536c 100644
--- a/nixos/modules/services/networking/zerotierone.nix
+++ b/nixos/modules/services/networking/zerotierone.nix
@@ -47,7 +47,7 @@ in
     };
 
     # ZeroTier does not issue DHCP leases, but some strangers might...
-    networking.dhcpcd.denyInterfaces = [ "zt0" ];
+    networking.dhcpcd.denyInterfaces = [ "zt*" ];
 
     # ZeroTier receives UDP transmissions on port 9993 by default
     networking.firewall.allowedUDPPorts = [ 9993 ];