Home

tailroute @0c5eb68a9c34aaf31e654e5433cd618e27bf7473 - refs - log -
-
https://git.jolheiser.com/tailroute.git
Router for tailnet and funnel across tailscale
tailroute / nix / options.gen.nix
- 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Code generated by gen from schema.cue; DO NOT EDIT.
{ lib }:
let
  inherit (lib) mkOption types;
in
{
  hostname = mkOption {
    type = types.str;
    description = "Tailscale hostname";
  };

  auth-key = mkOption {
    type = types.str;
    default = "";
    description = "Tailscale one-time auth key";
  };

  auth-key-file = mkOption {
    type = types.str;
    default = "";
    description = "Path to a file containing a Tailscale auth key (takes precedence over auth-key)";
  };

  funnel = mkOption {
    type = types.bool;
    default = false;
    description = "Expose on Tailscale funnel";
  };

  data-dir = mkOption {
    type = types.nonEmptyStr;
    default = "/var/lib/tailproxy";
    description = "tsnet data directory";
  };

  host = mkOption {
    type = types.str;
    default = "localhost";
    description = "Host to proxy";
  };

  port = mkOption {
    type = types.port;
    description = "Port to proxy";
  };
}