From 9286f0c538c968a416f0e3e58c2cb4aa6ad3419c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Dec 2020 13:38:09 +0100 Subject: loaOf --- custom/tinc/def.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'custom/tinc') 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 hosts = mkOption { default = { }; - type = types.loaOf types.lines; + type = types.attrsOf types.lines; description = '' The name of the host in the network as well as the configuration for that host. This name should only contain alphanumerics and underscores. @@ -70,7 +70,7 @@ let scripts = mkOption { default = { }; - type = types.loaOf (types.nullOr types.str); + type = types.attrsOf (types.nullOr types.str); description = '' Hook scripts ''; @@ -98,7 +98,7 @@ in networks = mkOption { default = { }; - type = types.loaOf (types.submodule { options = networkModule; }); + type = types.attrsOf (types.submodule { options = networkModule; }); description = '' Defines the tinc networks which will be started. Each network invokes a different daemon. -- cgit v1.2.3