mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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 {
|
||||
type = types.nullOr types.string;
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = "NORMAL";
|
||||
description = ''
|
||||
@ -195,7 +195,7 @@ in {
|
||||
|
||||
server = {
|
||||
host = mkOption {
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "localhost";
|
||||
description = ''
|
||||
The address (IPv4, IPv6 or DNS) of the Taskserver.
|
||||
|
Loading…
Reference in New Issue
Block a user