@@ -158,6 +158,8 @@ In addition to numerous new and upgraded packages, this release has the followin
-[ivpn](https://www.ivpn.net/), a secure, private VPN with fast WireGuard connections. Available as [services.ivpn](#opt-services.ivpn.enable).
-[openvscode-server](https://github.com/gitpod-io/openvscode-server), run VS Code on a remote machine with access through a modern web browser from any device, anywhere. Available as [services.openvscode-server](#opt-services.openvscode-server.enable).
The host name or IP address the server should listen to.
'';
type=lib.types.str;
};
port=lib.mkOption{
default=3000;
description=lib.mdDoc''
The port the server should listen to. If 0 is passed a random free port is picked. If a range in the format num-num is passed, a free port from the range (end inclusive) is selected.
'';
type=lib.types.port;
};
user=lib.mkOption{
default=defaultUser;
example="yourUser";
description=lib.mdDoc''
The user to run openvscode-server as.
By default, a user named `${defaultUser}` will be created.
'';
type=lib.types.str;
};
group=lib.mkOption{
default=defaultGroup;
example="yourGroup";
description=lib.mdDoc''
The group to run openvscode-server under.
By default, a group named `${defaultGroup}` will be created.
'';
type=lib.types.str;
};
extraGroups=lib.mkOption{
default=[];
description=lib.mdDoc''
An array of additional groups for the `${defaultUser}` user.
'';
example=["docker"];
type=lib.types.listOflib.types.str;
};
withoutConnectionToken=lib.mkOption{
default=false;
description=lib.mdDoc''
Run without a connection token. Only use this if the connection is secured by other means.
'';
example=true;
type=lib.types.bool;
};
socketPath=lib.mkOption{
default=null;
example="/run/openvscode/socket";
description=lib.mdDoc''
The path to a socket file for the server to listen to.
'';
type=lib.types.nullOrlib.types.str;
};
userDataDir=lib.mkOption{
default=null;
description=lib.mdDoc''
Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.
'';
type=lib.types.nullOrlib.types.str;
};
serverDataDir=lib.mkOption{
default=null;
description=lib.mdDoc''
Specifies the directory that server data is kept in.
'';
type=lib.types.nullOrlib.types.str;
};
extensionsDir=lib.mkOption{
default=null;
description=lib.mdDoc''
Set the root path for extensions.
'';
type=lib.types.nullOrlib.types.str;
};
telemetryLevel=lib.mkOption{
default="off";
example="crash";
description=lib.mdDoc''
Sets the initial telemetry level. Valid levels are: 'off', 'crash', 'error' and 'all'.
'';
type=lib.types.str;
};
connectionToken=lib.mkOption{
default=null;
example="secret-token";
description=lib.mdDoc''
A secret that must be included with all requests.
'';
type=lib.types.nullOrlib.types.str;
};
connectionTokenFile=lib.mkOption{
default=null;
description=lib.mdDoc''
Path to a file that contains the connection token.