nix-config/nixos/_mixins/services/zerotier.nix

20 lines
403 B
Nix
Raw Permalink Normal View History

{ config, ... }: {
networking = {
firewall = {
checkReversePath = "loose";
allowedUDPPorts = [ config.services.zerotierone.port ];
trustedInterfaces = [
# "ztwfukvgqh"
# "ztrfyc7hsl"
];
};
};
services.zerotierone = {
enable = true;
joinNetworks = [
# "e4da7455b2decfb5"
# "3efa5cb78a7329c1"
];
};
}