Merge pull request #111438 from helsinki-systems/synergy
nixos/synergy: add types
This commit is contained in:
commit
2dfbfa3b45
|
@ -23,12 +23,14 @@ in
|
||||||
|
|
||||||
screenName = mkOption {
|
screenName = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Use the given name instead of 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 {
|
||||||
|
type = types.str;
|
||||||
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
|
||||||
|
@ -46,10 +48,12 @@ in
|
||||||
enable = mkEnableOption "the Synergy server (send keyboard and mouse events)";
|
enable = mkEnableOption "the Synergy server (send keyboard and mouse events)";
|
||||||
|
|
||||||
configFile = mkOption {
|
configFile = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/etc/synergy-server.conf";
|
default = "/etc/synergy-server.conf";
|
||||||
description = "The Synergy server configuration file.";
|
description = "The Synergy server configuration file.";
|
||||||
};
|
};
|
||||||
screenName = mkOption {
|
screenName = mkOption {
|
||||||
|
type = types.str;
|
||||||
default = "";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
Use the given name instead of the hostname to identify
|
Use the given name instead of the hostname to identify
|
||||||
|
@ -57,6 +61,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
|
type = types.str;
|
||||||
default = "";
|
default = "";
|
||||||
description = "Address on which to listen for clients.";
|
description = "Address on which to listen for clients.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue