boinkor-net / tsnsrv

A reverse proxy that exposes services on your tailnet (as their own tailscale participants)
https://boinkor.net/2023/07/tsnsrv-or-easily-accessing-services-on-your-tailscale-network/
MIT License
189 stars 13 forks source link

nixos: Use systemd's LoadCredential= to make the auth key accessible #169

Closed antifuchs closed 5 days ago

antifuchs commented 5 days ago

This should transparently enable using any file (even if it's root-only readable) as an authkey, without playing around with group/user ownership.

Fixes #168

antifuchs commented 5 days ago

Tests pass and this works for me, so I think we can merge this.