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 ];
|
||||
|
||||
# Note avahi was super slow. systemd-resolved worked much faster for mdns
|
||||
systemd.network.networks = {
|
||||
zerotier.extraConfig = ''
|
||||
[Match]
|
||||
Name=zt*
|
||||
|
||||
[Network]
|
||||
LLMNR=true
|
||||
LLDP=true
|
||||
MulticastDNS=true
|
||||
KeepConfiguration=static
|
||||
'';
|
||||
systemd.network.networks.zerotier = {
|
||||
matchConfig.Name = "zt*";
|
||||
networkConfig = {
|
||||
LLMNR = true;
|
||||
LLDP = true;
|
||||
MulticastDNS = true;
|
||||
KeepConfiguration = "static";
|
||||
};
|
||||
};
|
||||
|
||||
services.zerotierone = {
|
||||
|
Loading…
Reference in New Issue
Block a user