types: remove last deprecated string type

This commit is contained in:
lassulus 2020-04-22 16:55:07 +02:00
parent 96102f20cc
commit 4036dc577a

View File

@ -7,7 +7,7 @@ let
mkOptionType optional optionalAttrs optionals range splitString mkOptionType optional optionalAttrs optionals range splitString
stringLength substring test testString typeOf; stringLength substring test testString typeOf;
inherit (lib.types) inherit (lib.types)
attrsOf bool either enum int listOf nullOr path str string submodule; attrsOf bool either enum int listOf nullOr path str submodule;
in in
rec { rec {
@ -182,7 +182,7 @@ rec {
extraConfig = mkOption { extraConfig = mkOption {
description = "Extra Configuration to be appended to the hosts file"; description = "Extra Configuration to be appended to the hosts file";
default = ""; default = "";
type = string; type = str;
}; };
port = mkOption { port = mkOption {
type = int; type = int;