Websockify: End descriptions with a period.

This commit is contained in:
Shea Levy 2013-02-18 11:51:33 -05:00
parent 18e8724e64
commit 969fe07be6

View File

@ -6,7 +6,7 @@ let cfg = config.services.networking.websockify; in {
options = { options = {
services.networking.websockify = { services.networking.websockify = {
enable = mkOption { enable = mkOption {
description = "Whether to enable websockify to forward websocket connections to TCP connections"; description = "Whether to enable websockify to forward websocket connections to TCP connections.";
default = false; default = false;
@ -14,19 +14,19 @@ let cfg = config.services.networking.websockify; in {
}; };
sslCert = mkOption { sslCert = mkOption {
description = "Path to the SSL certificate"; description = "Path to the SSL certificate.";
type = types.path; type = types.path;
}; };
sslKey = mkOption { sslKey = mkOption {
description = "Path to the SSL key"; description = "Path to the SSL key.";
default = cfg.sslCert; default = cfg.sslCert;
defaultText = "config.services.networking.websockify.sslCert"; defaultText = "config.services.networking.websockify.sslCert";
type = types.path; type = types.path;
}; };
portMap = mkOption { portMap = mkOption {
description = "Ports to map by default"; description = "Ports to map by default.";
default = {}; default = {};
type = types.attrsOf types.int; type = types.attrsOf types.int;
}; };