From d94ac7a454de2e979c7390b4e81ecb96ca42c040 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 5 Apr 2016 16:12:55 +0200 Subject: [PATCH] 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 --- nixos/modules/services/misc/taskserver.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/taskserver.nix b/nixos/modules/services/misc/taskserver.nix index 6d9cfdbfe4c3..ba52f2d4cd83 100644 --- a/nixos/modules/services/misc/taskserver.nix +++ b/nixos/modules/services/misc/taskserver.nix @@ -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.