tvl-depot/users/tazjin/nixos/modules/zerotier.nix
Vincent Ambo 9bdfd58b84 chore(tazjin/nixos): Trust zerotier interface for TVL network
Change-Id: I621edeb4ed338b4b1e84de580e8d782b7b98716c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5579
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-12 12:15:19 +00:00

14 lines
300 B
Nix

# Configuration for my Zerotier network.
{
environment.persistence."/persist".directories = [
"/var/lib/zerotier-one"
];
services.zerotierone.enable = true;
services.zerotierone.joinNetworks = [
"35c192ce9bd4c8c7"
];
networking.firewall.trustedInterfaces = [ "zt7nnembs4" ];
}