nix-config/nixos/_mixins/services/zerotier.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

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"
];
};
}