nixos: disable DHCP on ZeroTier interfaces
This commit is contained in:
parent
06d1723c4e
commit
90ee01cd3d
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user