nixos/taskserver: Use types.str instead of string

The "string" option type has been deprecated since a long time
(800f9c2), so let's not use it here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-04-05 16:12:55 +02:00
parent 411c6f77a3
commit d94ac7a454
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -91,7 +91,7 @@ in {
}; };
ciphers = mkOption { ciphers = mkOption {
type = types.nullOr types.string; type = types.nullOr types.str;
default = null; default = null;
example = "NORMAL"; example = "NORMAL";
description = '' description = ''
@ -195,7 +195,7 @@ in {
server = { server = {
host = mkOption { host = mkOption {
type = types.string; type = types.str;
default = "localhost"; default = "localhost";
description = '' description = ''
The address (IPv4, IPv6 or DNS) of the Taskserver. The address (IPv4, IPv6 or DNS) of the Taskserver.