From 1e8660cffa1a27a9a382cbe0df628150e5b4f480 Mon Sep 17 00:00:00 2001 From: Jordan Ashurst Date: Mon, 14 Sep 2026 21:11:40 -0700 Subject: [PATCH] Adding mongodb --- configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configuration.nix b/configuration.nix index 6469729..b32a012 100644 --- a/configuration.nix +++ b/configuration.nix @@ -140,6 +140,7 @@ "dedyn/dnsuser" = {}; "github/token" = {}; "gitlab/token" = {}; + "mongodb/initial_password" = {}; "namecheap/ddyn_password" = { restartUnits = ["ddclient.service"]; }; @@ -401,6 +402,12 @@ openFirewall = true; }; + services.mongodb = { + enable = true; + package = pkgs.mongodb-7_0; + initialRootPasswordFile = config.sops.secrets."mongodb/initial_password".path; + }; + networking.interfaces.enp6s0.useDHCP = false; networking.interfaces.br0.useDHCP = true; networking.bridges.br0.interfaces = ["enp6s0"];