Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 1 | { config, pkgs, ... }: { |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 2 | environment.systemPackages = [ pkgs.mongosh pkgs.mongodb-tools ]; |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 3 | services.mongodb.enable = true; |
| 4 | services.mongodb.enableAuth = true; |
Skyler Grey | 4f3e606 | 2023-03-04 01:29:29 +0000 | [diff] [blame^] | 5 | services.mongodb.bind_ip = "0.0.0.0"; |
| 6 | services.mongodb.initialRootPassword = "changeme"; |
Skyler Grey | 1e2187f | 2023-03-03 22:45:10 +0000 | [diff] [blame] | 7 | services.mongodb.package = pkgs.mongodb-6_0; |
| 8 | } |