From f19bd351c50f6031c8ef25380ccd6125a8885925 Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Mon, 24 Nov 2025 15:26:00 +0200 Subject: [PATCH] server: add mongodb --- hosts/server/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 7e5a531..bf10e0e 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -59,6 +59,13 @@ virtualisation.docker.enable = true; + services.mongodb = { + enable = true; + enableAuth = false; + package = pkgs.mongodb-ce; + replSetName = "rs0"; # dangerous + }; + networking.firewall = { enable = true; allowedTCPPorts = [ 22 443 3000 3001 8080 25565 ];