summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-04-22 16:55:07 +0200
committerlassulus <lassulus@lassul.us>2020-04-22 16:55:07 +0200
commitd1eb719ee126d4f3d72cd2ef5944f0afdb2d858f (patch)
treeb107c93a71a9007dad98737518020969f7893894
parent9330ac9351b7b09c78a5e98556da7294f4e910cc (diff)
types: remove last deprecated string type
-rw-r--r--lib/types.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 5cd44b5..16ccb14 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;