mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +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"
|
|
];
|
|
};
|
|
}
|