Home

tailroute @0c5eb68a9c34aaf31e654e5433cd618e27bf7473 - refs - log -
-
https://git.jolheiser.com/tailroute.git
Router for tailnet and funnel across tailscale
tailroute / cmd / tailproxy / schema.cue
- raw -
 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