diff options
author | lassulus <lassulus@lassul.us> | 2022-01-29 20:50:32 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-01-29 20:51:14 +0100 |
commit | d3f2ce44f13db6f63729219723630b2086244ac2 (patch) | |
tree | 92dc28147784565f9f37683663f5f891551acee0 | |
parent | 0f8083a8c6d82d8c60cef97bb5213b83edb6724f (diff) |
types.tinc.extraConfig: str -> lines
-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 318e2f2..f312b73 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 submodule; + attrsOf bool either enum int lines listOf nullOr path str submodule; in rec { @@ -211,7 +211,7 @@ rec { extraConfig = mkOption { description = "Extra Configuration to be appended to the hosts file"; default = ""; - type = str; + type = lines; }; port = mkOption { type = int; |