nixos/synergy: add types

This commit is contained in:
Fritz Otlinghaus 2021-01-31 12:17:41 +01:00
parent 4015c5ca9c
commit 3fc73679c0
No known key found for this signature in database
GPG key ID: 1E5F98946FB1444E

View file

@ -23,12 +23,14 @@ in
screenName = mkOption {
default = "";
type = types.str;
description = ''
Use the given name instead of the hostname to identify
ourselves to the server.
'';
};
serverAddress = mkOption {
type = types.str;
description = ''
The server address is of the form: [hostname][:port]. 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)";
configFile = mkOption {
type = types.path;
default = "/etc/synergy-server.conf";
description = "The Synergy server configuration file.";
};
screenName = mkOption {
type = types.str;
default = "";
description = ''
Use the given name instead of the hostname to identify
@ -57,6 +61,7 @@ in
'';
};
address = mkOption {
type = types.str;
default = "";
description = "Address on which to listen for clients.";
};