File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 102102 description = "Path to SQLite database" ;
103103 } ;
104104
105+ controlUrl = mkOption {
106+ type = types . str ;
107+ default = "https://controlplane.tailscale.com" ;
108+ description = ''
109+ the URL base of the control plane (i.e. coordination server)
110+ (default "https://controlplane.tailscale.com")
111+ '' ;
112+ } ;
113+
105114 tailscaleAuthKeyFile = mkOption {
106115 type = types . nullOr types . path ;
107116 default = null ;
135144 enable = true ;
136145 script =
137146 let
138- args = [ "--sqlitedb ${ cfg . databaseFile } " ] ++ optionals cfg . verbose [ "--verbose" ] ;
147+ args = [
148+ "--sqlitedb ${ cfg . databaseFile } "
149+ "--control-url ${ cfg . controlUrl } "
150+ ] ++ optionals cfg . verbose [ "--verbose" ] ;
139151 in
140152 ''
141153 ${ optionalString ( cfg . tailscaleAuthKeyFile != null ) ''
You can’t perform that action at this time.
0 commit comments