nixos/mysql: refactor enable option

This commit is contained in:
joachimschmidt557 2020-05-14 13:08:41 +02:00
parent 9d55751754
commit cd1152ff7c

View File

@ -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;