diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-12-19 13:38:09 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-12-19 13:38:09 +0100 |
| commit | 9286f0c538c968a416f0e3e58c2cb4aa6ad3419c (patch) | |
| tree | ba7ccb51a69cadd786885de3c258e04ed01554e2 | |
| parent | 0ec8bfa351b413af1813bda264603178502bc891 (diff) | |
| download | nixos-9286f0c538c968a416f0e3e58c2cb4aa6ad3419c.tar nixos-9286f0c538c968a416f0e3e58c2cb4aa6ad3419c.tar.gz nixos-9286f0c538c968a416f0e3e58c2cb4aa6ad3419c.tar.bz2 nixos-9286f0c538c968a416f0e3e58c2cb4aa6ad3419c.tar.xz nixos-9286f0c538c968a416f0e3e58c2cb4aa6ad3419c.zip | |
loaOf
| -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. |
