mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/rabbitmq: use a literalExample for example configItems
This commit is contained in:
parent
f702ae1516
commit
32c7f772f7
1 changed files with 6 additions and 4 deletions
|
@ -80,10 +80,12 @@ in {
|
||||||
configItems = mkOption {
|
configItems = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.str;
|
||||||
example = {
|
example = literalExample ''
|
||||||
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
|
{
|
||||||
"auth_backends.1.authz" = "rabbit_auth_backend_internal";
|
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
|
||||||
};
|
"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…
Add table
Add a link
Reference in a new issue