diff options
author | lassulus <lassulus@lassul.us> | 2020-04-22 16:55:07 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-22 16:55:07 +0200 |
commit | 4036dc577abdc34a3bc4e9a463119a08bf91cf99 (patch) | |
tree | fd7c1dd6d4a554e489ea73ef3937fbc420eebcfe | |
parent | 96102f20ccd6d42163b9455886b1ef60e2b6724f (diff) |
types: remove last deprecated string type
-rw-r--r-- | lib/types.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix index 5cd44b5e9..16ccb145e 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -7,7 +7,7 @@ let mkOptionType optional optionalAttrs optionals range splitString stringLength substring test testString typeOf; 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 rec { @@ -182,7 +182,7 @@ rec { extraConfig = mkOption { description = "Extra Configuration to be appended to the hosts file"; default = ""; - type = string; + type = str; }; port = mkOption { type = int; |