services.mongodb.initialRootPasswordFile

NixOS option

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

type: null or absolute path
Default
null
declared in: nixos/modules/services/databases/mongodb.nixView source on NixOS/nixpkgs →