services.mongodb.enableAuth

NixOS option

Enable client authentication. Creates a default superuser with username root!

type: boolean
Default
false
declared in: nixos/modules/services/databases/mongodb.nixView source on NixOS/nixpkgs →