mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
tinc module: networks, hosts option loaOf -> attrsOf
This commit is contained in:
parent
2a9de9162f
commit
b4d1d37b22
|
@ -18,7 +18,7 @@ in
|
|||
|
||||
networks = mkOption {
|
||||
default = { };
|
||||
type = with types; loaOf (submodule {
|
||||
type = with types; attrsOf (submodule {
|
||||
options = {
|
||||
|
||||
extraConfig = mkOption {
|
||||
|
@ -59,7 +59,7 @@ in
|
|||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue