diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-18 21:07:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 21:07:02 +0000 |
commit | 30cfe8d5f10dac3f6184fd6ff611b552343d1b78 (patch) | |
tree | d68599c80ba4ba6d96a9dc0f392071a6ff455b46 /nixos | |
parent | f9113fc0633640724689c6255cfccc857f67f333 (diff) | |
parent | 32c7f772f75bdbd848147aea640686fcb01c0ca5 (diff) | |
download | nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar.gz nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar.bz2 nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar.lz nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar.xz nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.tar.zst nixlib-30cfe8d5f10dac3f6184fd6ff611b552343d1b78.zip |
Merge pull request #71341 from edef1c/rabbitmq-example
nixos/rabbitmq: use a literalExample for example configItems
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/amqp/rabbitmq.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/services/amqp/rabbitmq.nix b/nixos/modules/services/amqp/rabbitmq.nix index 38d109234946..697732426ccf 100644 --- a/nixos/modules/services/amqp/rabbitmq.nix +++ b/nixos/modules/services/amqp/rabbitmq.nix @@ -80,10 +80,12 @@ in { configItems = mkOption { default = {}; type = types.attrsOf types.str; - example = { - "auth_backends.1.authn" = "rabbit_auth_backend_ldap"; - "auth_backends.1.authz" = "rabbit_auth_backend_internal"; - }; + example = literalExample '' + { + "auth_backends.1.authn" = "rabbit_auth_backend_ldap"; + "auth_backends.1.authz" = "rabbit_auth_backend_internal"; + } + ''; description = '' Configuration options in RabbitMQ's new config file format, which is a simple key-value format that can not express nested |