this is a flake which exports some functions to join the nether network
If you are already using clan, you can just import this flake and configure it like this:
flake.nix:
{
inputs = {
# Add this input for nether
nether.url = "github:Lassulus/nether";
}
}
configuration.nix:
{inputs, ...}: {
imports = [
inputs.nether.nixosModules.hosts
];
clan.networking.zerotier = {
networkId = "ccc5da5295c853d4";
name = "nether";
};
}
if you don't use clan or don't want this network as your primary. you can import our zerotier module:
{inputs, ...}: {
imports = [
inputs.nether.nixosModules.hosts
inputs.nether.nixosModules.zerotier
];
}
First git clone
this repository. Then
for your host to be accepted into the network the id needs to be whitelisted.
sudo zerotier-cli info -j | jq -c '{"address": .address}' > hosts/"$(hostname)".json
then create a PR with your host file