tinc module: networks, hosts option loaOf -> attrsOf
This commit is contained in:
parent
2a9de9162f
commit
b4d1d37b22
@ -18,7 +18,7 @@ in
|
|||||||
|
|
||||||
networks = mkOption {
|
networks = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = with types; loaOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
@ -59,7 +59,7 @@ in
|
|||||||
|
|
||||||
hosts = mkOption {
|
hosts = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.loaOf types.lines;
|
type = types.attrsOf types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
The name of the host in the network as well as the configuration for that host.
|
The name of the host in the network as well as the configuration for that host.
|
||||||
This name should only contain alphanumerics and underscores.
|
This name should only contain alphanumerics and underscores.
|
||||||
|
Loading…
Reference in New Issue
Block a user