Notes: do not use snap docker. It has mount permission issues.
- Setup env via nix: https://github.com/kahnwong/nix
- Setup Kubernetes: https://github.com/kahnwong/k8s-playground
- Setup ddns cron. Source
tailscale up
- Install caddy via xcaddy + cloudflare plugin: https://docs.karnwong.me/knowledge-base/ops/tools/networking/caddy#caddy-with-cloudflare-plugin
- Install headscale: https://headscale.net/stable/setup/install/official/#using-packages-for-debianubuntu-recommended. Edit following config keys:
server_url, listen_addr, base_domain
. Addsudo usermod -aG headscale $USER
to allow invoking headscale without sudo.