nix-config/common/zerotier.nix
2021-06-04 09:02:07 -04:00

14 lines
244 B
Nix

{ lib, config, ... }:
let
cfg = config.services.zerotierone;
in {
config = lib.mkIf cfg.enable {
services.zerotierone.joinNetworks = [
"565799d8f6d654c0"
];
networking.firewall.allowedUDPPorts = [
9993
];
};
}