forked from mirrors/nixpkgs
nixos/rabbitmq: use an attrset for example configItems
This commit is contained in:
parent
1f4e9c6439
commit
429644bf4c
|
@ -80,12 +80,10 @@ in {
|
||||||
configItems = mkOption {
|
configItems = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.str;
|
||||||
example = ''
|
example = {
|
||||||
{
|
|
||||||
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
|
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
|
||||||
"auth_backends.1.authz" = "rabbit_auth_backend_internal";
|
"auth_backends.1.authz" = "rabbit_auth_backend_internal";
|
||||||
}
|
};
|
||||||
'';
|
|
||||||
description = ''
|
description = ''
|
||||||
Configuration options in RabbitMQ's new config file format,
|
Configuration options in RabbitMQ's new config file format,
|
||||||
which is a simple key-value format that can not express nested
|
which is a simple key-value format that can not express nested
|
||||||
|
|
Loading…
Reference in a new issue