nixos: remove all uses of lib.mdDoc

these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -29,56 +29,56 @@ in
services.mongodb = {
enable = mkEnableOption (lib.mdDoc "the MongoDB server");
enable = mkEnableOption "the MongoDB server";
package = mkPackageOption pkgs "mongodb" { };
user = mkOption {
type = types.str;
default = "mongodb";
description = lib.mdDoc "User account under which MongoDB runs";
description = "User account under which MongoDB runs";
};
bind_ip = mkOption {
type = types.str;
default = "127.0.0.1";
description = lib.mdDoc "IP to bind to";
description = "IP to bind to";
};
quiet = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc "quieter output";
description = "quieter output";
};
enableAuth = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc "Enable client authentication. Creates a default superuser with username root!";
description = "Enable client authentication. Creates a default superuser with username root!";
};
initialRootPassword = mkOption {
type = types.nullOr types.str;
default = null;
description = lib.mdDoc "Password for the root user if auth is enabled.";
description = "Password for the root user if auth is enabled.";
};
dbpath = mkOption {
type = types.str;
default = "/var/db/mongodb";
description = lib.mdDoc "Location where MongoDB stores its files";
description = "Location where MongoDB stores its files";
};
pidFile = mkOption {
type = types.str;
default = "/run/mongodb.pid";
description = lib.mdDoc "Location of MongoDB pid file";
description = "Location of MongoDB pid file";
};
replSetName = mkOption {
type = types.str;
default = "";
description = lib.mdDoc ''
description = ''
If this instance is part of a replica set, set its name here.
Otherwise, leave empty to run as single node.
'';
@ -90,13 +90,13 @@ in
example = ''
storage.journal.enabled: false
'';
description = lib.mdDoc "MongoDB extra configuration in YAML format";
description = "MongoDB extra configuration in YAML format";
};
initialScript = mkOption {
type = types.nullOr types.path;
default = null;
description = lib.mdDoc ''
description = ''
A file containing MongoDB statements to execute on first startup.
'';
};