modules: split zerotier into it's own directory, document it a bit

This commit is contained in:
lassulus 2023-07-05 16:57:17 +02:00
parent c0eba3683d
commit c36ecde876
5 changed files with 15 additions and 7 deletions

View File

@ -3,8 +3,8 @@
./homepage.nix
./gitea
./postfix.nix
./zerotier.nix
./zerotier-ctrl.nix
../zerotier
../zerotier/ctrl.nix
];
services.cloud-init.xfs.enable = true;

View File

@ -0,0 +1,8 @@
# zerotier controller & client config
These modules implement a simple bash based controller (./ctrl.nix) and
the config to join the VPN. External people who want to join just have to copy
./default.nix into their configuration and rebuild switch.
The configured network uses only ipv6 addresses, they are distributed by 6plane.
Which gives every host a /80.
Reference: https://gist.github.com/laduke/fa1e9a68a79d9038ab117ad0ab69927a

File diff suppressed because one or more lines are too long