nixos/rabbitmq: use an attrset for example configItems
commit429644bf4c1fe1f6ed5c618a98ce944f4d5f95a3
authoredef <edef@edef.eu>
dateWed 25 Sep 2019, 17:31 (7 years ago)
parent1f4e9c6
nixos/modules/services/amqp/rabbitmq.nix+4−6
@@ -80,12 +80,10 @@ in {
8080 configItems = mkOption {
8181 default = {};
8282 type = types.attrsOf types.str;
83− example = ''
84− {
85− "auth_backends.1.authn" = "rabbit_auth_backend_ldap";
86− "auth_backends.1.authz" = "rabbit_auth_backend_internal";
87− }
88− '';
83+ example = {
84+ "auth_backends.1.authn" = "rabbit_auth_backend_ldap";
85+ "auth_backends.1.authz" = "rabbit_auth_backend_internal";
86+ };
8987 description = ''
9088 Configuration options in RabbitMQ's new config file format,
9189 which is a simple key-value format that can not express nested