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:
parent
411c6f77a3
commit
d94ac7a454
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user