diff options
Diffstat (limited to 'custom/tinc')
-rw-r--r-- | custom/tinc/def.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/tinc/def.nix b/custom/tinc/def.nix index 22aca9ea..97653f72 100644 --- a/custom/tinc/def.nix +++ b/custom/tinc/def.nix | |||
@@ -39,7 +39,7 @@ let | |||
39 | 39 | ||
40 | hosts = mkOption { | 40 | hosts = mkOption { |
41 | default = { }; | 41 | default = { }; |
42 | type = types.loaOf types.lines; | 42 | type = types.attrsOf types.lines; |
43 | description = '' | 43 | description = '' |
44 | The name of the host in the network as well as the configuration for that host. | 44 | The name of the host in the network as well as the configuration for that host. |
45 | This name should only contain alphanumerics and underscores. | 45 | This name should only contain alphanumerics and underscores. |
@@ -70,7 +70,7 @@ let | |||
70 | 70 | ||
71 | scripts = mkOption { | 71 | scripts = mkOption { |
72 | default = { }; | 72 | default = { }; |
73 | type = types.loaOf (types.nullOr types.str); | 73 | type = types.attrsOf (types.nullOr types.str); |
74 | description = '' | 74 | description = '' |
75 | Hook scripts | 75 | Hook scripts |
76 | ''; | 76 | ''; |
@@ -98,7 +98,7 @@ in | |||
98 | 98 | ||
99 | networks = mkOption { | 99 | networks = mkOption { |
100 | default = { }; | 100 | default = { }; |
101 | type = types.loaOf (types.submodule { options = networkModule; }); | 101 | type = types.attrsOf (types.submodule { options = networkModule; }); |
102 | description = '' | 102 | description = '' |
103 | Defines the tinc networks which will be started. | 103 | Defines the tinc networks which will be started. |
104 | Each network invokes a different daemon. | 104 | Each network invokes a different daemon. |