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

Make devshell optional, remove unused inputs #145

Closed SuperSandro2000 closed 3 months ago

SuperSandro2000 commented 3 months ago

In the vein off https://github.com/nix-community/lanzaboote/pull/282 and https://github.com/nix-community/nixvim/pull/1829

antifuchs commented 3 months ago

This looks great, thank you!

SuperSandro2000 commented 3 months ago

I first only tested this with a config where tsnsrv was not actually used and quickly noticed that a lib.optionalAttrs is required 😅

Also very bad timing with that force push 🙈

antifuchs commented 3 months ago

Hahaha, no worries - I noticed in time that you were still working on it. LMK when you're finished trying it out and I'll merge

antifuchs commented 3 months ago

Ah, oof - this needs a run of nix fmt, if you could!

SuperSandro2000 commented 3 months ago

done

antifuchs commented 3 months ago

thanks again! (: