From 119c9e1f700c05cb98451db2359e08cf87cdd5e5 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Sat, 11 Sep 2021 18:36:22 +0200 Subject: [PATCH] nixos/rabbitmq: clean-up after f091420c1d194ad398142959266f18493da1ff83 --- nixos/modules/services/amqp/rabbitmq.nix | 27 +++++++----------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/nixos/modules/services/amqp/rabbitmq.nix b/nixos/modules/services/amqp/rabbitmq.nix index 8fdfda9a66d8..dabd80312d9d 100644 --- a/nixos/modules/services/amqp/rabbitmq.nix +++ b/nixos/modules/services/amqp/rabbitmq.nix @@ -135,25 +135,14 @@ in description = "The list of directories containing external plugins"; }; - managementPlugin = mkOption { - description = "The options to run the management plugin"; - type = types.submodule { - options = { - enable = mkOption { - default = false; - type = types.bool; - description = '' - Whether to enable the management plugin - ''; - }; - port = mkOption { - default = 15672; - type = types.port; - description = '' - On which port to run the management plugin - ''; - }; - }; + managementPlugin = { + enable = mkEnableOption "the management plugin"; + port = mkOption { + default = 15672; + type = types.port; + description = '' + On which port to run the management plugin + ''; }; }; };