summary refs log tree commit diff
path: root/nixos/modules/services/databases/opentsdb.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/databases/opentsdb.nix')
-rw-r--r--nixos/modules/services/databases/opentsdb.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/nixos/modules/services/databases/opentsdb.nix b/nixos/modules/services/databases/opentsdb.nix
index 3a11e1c20429f..288b716fce03f 100644
--- a/nixos/modules/services/databases/opentsdb.nix
+++ b/nixos/modules/services/databases/opentsdb.nix
@@ -15,13 +15,7 @@ in {
 
     services.opentsdb = {
 
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = lib.mdDoc ''
-          Whether to run OpenTSDB.
-        '';
-      };
+      enable = mkEnableOption (lib.mdDoc "OpenTSDB");
 
       package = mkOption {
         type = types.package;