mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
19 lines
403 B
Nix
19 lines
403 B
Nix
{ config, ... }: {
|
|
networking = {
|
|
firewall = {
|
|
checkReversePath = "loose";
|
|
allowedUDPPorts = [ config.services.zerotierone.port ];
|
|
trustedInterfaces = [
|
|
# "ztwfukvgqh"
|
|
# "ztrfyc7hsl"
|
|
];
|
|
};
|
|
};
|
|
services.zerotierone = {
|
|
enable = true;
|
|
joinNetworks = [
|
|
# "e4da7455b2decfb5"
|
|
# "3efa5cb78a7329c1"
|
|
];
|
|
};
|
|
}
|