forked from clan/clan-infra
modules zerotier: use settings style networkd syntax
This commit is contained in:
parent
a63abe676e
commit
07a2d1e4aa
@ -6,17 +6,14 @@
|
|||||||
networking.firewall.interfaces."zt+".allowedUDPPorts = [ 5353 ];
|
networking.firewall.interfaces."zt+".allowedUDPPorts = [ 5353 ];
|
||||||
|
|
||||||
# Note avahi was super slow. systemd-resolved worked much faster for mdns
|
# Note avahi was super slow. systemd-resolved worked much faster for mdns
|
||||||
systemd.network.networks = {
|
systemd.network.networks.zerotier = {
|
||||||
zerotier.extraConfig = ''
|
matchConfig.Name = "zt*";
|
||||||
[Match]
|
networkConfig = {
|
||||||
Name=zt*
|
LLMNR = true;
|
||||||
|
LLDP = true;
|
||||||
[Network]
|
MulticastDNS = true;
|
||||||
LLMNR=true
|
KeepConfiguration = "static";
|
||||||
LLDP=true
|
};
|
||||||
MulticastDNS=true
|
|
||||||
KeepConfiguration=static
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.zerotierone = {
|
services.zerotierone = {
|
||||||
|
Loading…
Reference in New Issue
Block a user