diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-20 20:05:26 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2020-04-21 08:55:36 +0200 |
commit | 0412bde9423cbc26d68d1d744b22ec4e45bcbac8 (patch) | |
tree | b311635212d83efe027bf39184008959f48e12c1 /nixos/modules/services/databases/mongodb.nix | |
parent | 3bbd074217cd11b6e14abec24655091b83aacc6f (diff) | |
download | nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar.gz nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar.bz2 nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar.lz nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar.xz nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.tar.zst nixlib-0412bde9423cbc26d68d1d744b22ec4e45bcbac8.zip |
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.
Diffstat (limited to 'nixos/modules/services/databases/mongodb.nix')
-rw-r--r-- | nixos/modules/services/databases/mongodb.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/databases/mongodb.nix b/nixos/modules/services/databases/mongodb.nix index 12879afed477..4453a182990d 100644 --- a/nixos/modules/services/databases/mongodb.nix +++ b/nixos/modules/services/databases/mongodb.nix @@ -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; |