From a92ca6263af9f05d373bb82fc7edccba9941463e Mon Sep 17 00:00:00 2001 From: illustris Date: Sun, 7 Aug 2022 23:57:34 +0530 Subject: [PATCH] nixos/hadoop.hbase: change mkOption to mkEnableOption --- nixos/modules/services/cluster/hadoop/hbase.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix index 050bcd03749d..246775dc8987 100644 --- a/nixos/modules/services/cluster/hadoop/hbase.nix +++ b/nixos/modules/services/cluster/hadoop/hbase.nix @@ -9,11 +9,7 @@ in { options.services.hadoop = { - gatewayRole.enableHbaseCli = mkOption { - description = "Whether to enable HBase CLI tools"; - default = false; - type = types.bool; - }; + gatewayRole.enableHbaseCli = mkEnableOption "HBase CLI tools"; hbaseSiteDefault = mkOption { default = {