Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f9113fc06336
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 30cfe8d5f10d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 18, 2019

  1. Copy the full SHA
    32c7f77 View commit details
  2. Merge pull request #71341 from edef1c/rabbitmq-example

    nixos/rabbitmq: use a literalExample for example configItems
    worldofpeace authored Oct 18, 2019
    Copy the full SHA
    30cfe8d View commit details
Showing with 6 additions and 4 deletions.
  1. +6 −4 nixos/modules/services/amqp/rabbitmq.nix
10 changes: 6 additions & 4 deletions nixos/modules/services/amqp/rabbitmq.nix
Original file line number Diff line number Diff line change
@@ -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