summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/heapster.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/monitoring/heapster.nix')
-rw-r--r--nixos/modules/services/monitoring/heapster.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/services/monitoring/heapster.nix b/nixos/modules/services/monitoring/heapster.nix
index 2f2467477ae..fc63276b62f 100644
--- a/nixos/modules/services/monitoring/heapster.nix
+++ b/nixos/modules/services/monitoring/heapster.nix
@@ -6,11 +6,7 @@ let
   cfg = config.services.heapster;
 in {
   options.services.heapster = {
-    enable = mkOption {
-      description = lib.mdDoc "Whether to enable heapster monitoring";
-      default = false;
-      type = types.bool;
-    };
+    enable = mkEnableOption (lib.mdDoc "Heapster monitoring");
 
     source = mkOption {
       description = lib.mdDoc "Heapster metric source";