summary refs log tree commit diff
path: root/nixos/modules/services/misc/exhibitor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/misc/exhibitor.nix')
-rw-r--r--nixos/modules/services/misc/exhibitor.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/modules/services/misc/exhibitor.nix b/nixos/modules/services/misc/exhibitor.nix
index b75ce07c91e..91a87b55af5 100644
--- a/nixos/modules/services/misc/exhibitor.nix
+++ b/nixos/modules/services/misc/exhibitor.nix
@@ -68,13 +68,8 @@ in
 {
   options = {
     services.exhibitor = {
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = lib.mdDoc ''
-          Whether to enable the exhibitor server.
-        '';
-      };
+      enable = mkEnableOption (lib.mdDoc "exhibitor server");
+
       # See https://github.com/soabase/exhibitor/wiki/Running-Exhibitor for what these mean
       # General options for any type of config
       port = mkOption {