treewide: add bool type to enable options, or make use of mkEnableOption
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
This commit is contained in:
@@ -29,12 +29,7 @@ in
|
||||
|
||||
services.mongodb = {
|
||||
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = "
|
||||
Whether to enable the MongoDB server.
|
||||
";
|
||||
};
|
||||
enable = mkEnableOption "the MongoDB server";
|
||||
|
||||
package = mkOption {
|
||||
default = pkgs.mongodb;
|
||||
|
||||
Reference in New Issue
Block a user