nixos: disable DHCP on ZeroTier interfaces

This commit is contained in:
Emery Hemingway 2016-07-23 21:02:57 +02:00
parent 06d1723c4e
commit 90ee01cd3d

View File

@ -26,6 +26,10 @@ in
KillMode = "process";
};
};
environment.systemPackages = [ pkgs.zerotierone ];
# ZeroTier does not issue DHCP leases, but some strangers might...
networking.dhcpcd.denyInterfaces = [ "zt0" ];
environment.systemPackages = [ pkgs.zerotierone ];
};
}