summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-29 20:50:32 +0100
committerlassulus <lassulus@lassul.us>2022-01-29 20:51:14 +0100
commit9597300c4dc47c32fb2a8ec86e8e91657b78cc07 (patch)
treef6c6e50a03e9936b610761ce438a806a4aa69b3c
parent510bfbc9b22416359a116f9cdbab74207372b2f5 (diff)
types.tinc.extraConfig: str -> lines
-rw-r--r--lib/types.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 318e2f237..f312b734b 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;