Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #87812 from joachimschmidt557/mysql-enable-option

nixos/mysql: refactor enable option

authored by Michele Guerini Rocco and committed by GitHub 429f9760 8b2dfcb7

+1 -7
+1 -7
nixos/modules/services/databases/mysql.nix
··· 32 33 services.mysql = { 34 35 - enable = mkOption { 36 - type = types.bool; 37 - default = false; 38 - description = " 39 - Whether to enable the MySQL server. 40 - "; 41 - }; 42 43 package = mkOption { 44 type = types.package;
··· 32 33 services.mysql = { 34 35 + enable = mkEnableOption "MySQL server"; 36 37 package = mkOption { 38 type = types.package;