Tailscale assigns each node on your network a unique 100.x.y.z address. This address stays stable for each node (a device or a server), which means it should not change, no matter where the device moves to in the physical world.
To test, I was able to ping my phone from a Linux computer.
I then disabled WiFi on phone, and was still able to ping phone.
It is interesting they use Nix for development. Probably some other useful tips to learn from their build/CI setup:
To contribute to headscale you would need the lastest version of Go and Buf(Protobuf generator).
We recommend using Nix to setup a development environment. This can be done with nix develop, which will install the tools and give you a shell. This guarantees that you will have the same dev env as headscale maintainers.
PRs and suggestions are welcome.
To ensure we have some consistency with a growing number of contributions, this project has adopted linting and style/formatting rules:
The Go code is linted with golangci-lint and formatted with golines (width 88) and gofumpt. Please configure your editor to run the tools while developing and make sure to run make lint and make fmt before committing any code.