Adding mongodb
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user