Clean up Synergy option descriptions a bit
This commit is contained in:
parent
86443f4efd
commit
456d8ec52b
@ -22,58 +22,56 @@ in
|
|||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = "
|
description = "
|
||||||
Whether to enable the synergy client (receive keyboard and mouse events from a synergy server)
|
Whether to enable the Synergy client (receive keyboard and mouse events from a Synergy server).
|
||||||
";
|
";
|
||||||
};
|
};
|
||||||
screenName = mkOption {
|
screenName = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
description = "
|
description = ''
|
||||||
use screen-name instead the hostname to identify
|
Use the given name instead of the hostname to identify
|
||||||
ourselves to the server.
|
ourselves to the server.
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
serverAddress = mkOption {
|
serverAddress = mkOption {
|
||||||
description = "
|
description = ''
|
||||||
The server address is of the form: [hostname][:port]. The
|
The server address is of the form: [hostname][:port]. The
|
||||||
hostname must be the address or hostname of the server. The
|
hostname must be the address or hostname of the server. The
|
||||||
port overrides the default port, 24800.
|
port overrides the default port, 24800.
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
autoStart = mkOption {
|
autoStart = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "Whether synergy-client should be started automatically.";
|
description = "Whether the Synergy client should be started automatically.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
default = false;
|
||||||
description = "
|
description = ''
|
||||||
Whether to enable the synergy server (send keyboard and mouse events)
|
Whether to enable the Synergy server (send keyboard and mouse events).
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
configFile = mkOption {
|
configFile = mkOption {
|
||||||
default = "/etc/synergy-server.conf";
|
default = "/etc/synergy-server.conf";
|
||||||
description = "
|
description = "The Synergy server configuration file.";
|
||||||
The synergy server configuration file. open upstart-jobs/synergy.nix to see an example
|
|
||||||
";
|
|
||||||
};
|
};
|
||||||
screenName = mkOption {
|
screenName = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
description = "
|
description = ''
|
||||||
use screen-name instead the hostname to identify
|
Use the given name instead of the hostname to identify
|
||||||
this screen in the configuration.
|
this screen in the configuration.
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
description = "listen for clients on the given address";
|
description = "Address on which to listen for clients.";
|
||||||
};
|
};
|
||||||
autoStart = mkOption {
|
autoStart = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "Whether synergy-server should be started automatically.";
|
description = "Whether the Synergy server should be started automatically.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user