https://git.jolheiser.com/tailroute.git
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
package tailproxy #Path: string & !="" #Port: int & >0 & <65536 @nix(type=types.port) // Tailscale hostname hostname: string // Tailscale one-time auth key "auth-key": string | *"" // Path to a file containing a Tailscale auth key (takes precedence over auth-key) "auth-key-file": string | *"" // Expose on Tailscale funnel funnel: bool | *false // tsnet data directory "data-dir": #Path | *".tailproxy" @nix(default="/var/lib/tailproxy") // Host to proxy host: string | *"localhost" // Port to proxy port: #Port