summary refs log tree commit diff
path: root/nixos/modules/services/amqp
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2021-09-11 18:36:22 +0200
committersterni <sternenseemann@systemli.org>2021-09-12 16:32:36 +0200
commit119c9e1f700c05cb98451db2359e08cf87cdd5e5 (patch)
tree2cacbcc056fde4b08bd1c60368841633d436d521 /nixos/modules/services/amqp
parentaffbee38ffe3c0fde4dc3f894ecc0037a58fec49 (diff)
downloadnixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar.gz
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar.bz2
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar.lz
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar.xz
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.tar.zst
nixpkgs-119c9e1f700c05cb98451db2359e08cf87cdd5e5.zip
nixos/rabbitmq: clean-up after f091420c1d194ad398142959266f18493da1ff83
Diffstat (limited to 'nixos/modules/services/amqp')
-rw-r--r--nixos/modules/services/amqp/rabbitmq.nix27
1 files changed, 8 insertions, 19 deletions
diff --git a/nixos/modules/services/amqp/rabbitmq.nix b/nixos/modules/services/amqp/rabbitmq.nix
index 8fdfda9a66d..dabd80312d9 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
+          '';
         };
       };
     };