From cd1152ff7c1092acb7ff90f5fb76480a17568b45 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Thu, 14 May 2020 13:08:41 +0200 Subject: nixos/mysql: refactor enable option --- nixos/modules/services/databases/mysql.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix index f9e657f5774..48fd96a5063 100644 --- a/nixos/modules/services/databases/mysql.nix +++ b/nixos/modules/services/databases/mysql.nix @@ -32,13 +32,7 @@ in services.mysql = { - enable = mkOption { - type = types.bool; - default = false; - description = " - Whether to enable the MySQL server. - "; - }; + enable = mkEnableOption "MySQL server"; package = mkOption { type = types.package; -- cgit 1.4.1