Tailscale for wireless debugging

I am using my android tablet for my daily driver. I also code on this tablet via code-server on my mac mini and tailscale. I use tailscale to connect my devices, which tricks wireless debugging and lets me debug my app on the tablet i am also coding. This is a pretty good workflow for me as i have a rather powerful device and instantly seeing result in a native android device is pretty smooth. I wanted to try IDX but android emulator sucks. It’s unusable, clunky and slow. It may get better in future for sure but i assume its basically videostreaming and it wont be as good as it working on my tablet any time soon i think.

I tried to add tailscale to dev.nix but systemd stuff is not defined it seems like. Is there a workaround so i can add IDX workspace into my tailscale network? or is there any other way for wireless debugging over network with IDX?

Maybe using docker, setting up a container for subnet routing into tailscale could work but i don’t have time to test these theories right now. I am looking for a less hacky solution. Maybe just allowing systemd in dev.nix could solve all my issues ?