mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 10:22:54 +02:00
14 lines
316 B
Nix
14 lines
316 B
Nix
{ config, pkgs, lib, ... }: {
|
|
# Allow insecure MongoDB package (CVE-2025-14847)
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"mongodb-ce-8.0.4"
|
|
];
|
|
|
|
# Enable MongoDB using the infrastructure module
|
|
infrastructure.mongodb = {
|
|
enable = true;
|
|
bindToIp = "127.0.0.1";
|
|
bindToPort = 27018;
|
|
};
|
|
}
|