services.mongodb.initialRootPasswordFile

Path to the file containing the password for the root user if auth is enabled.

Type
null or absolute path
Default
null
Declared
<nixpkgs/nixos/modules/services/databases/mongodb.nix>