about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/zerotier.nix
blob: bd503cf8f026ed5ec65c4d94d85e62a960cbd7c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                    

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