summary refs log tree commit diff
path: root/host/Rory-desktop/edu/mongodb.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-02 11:03:44 +0200
committerRory& <root@rory.gay>2025-06-02 11:03:44 +0200
commit2f2f4d4ff56300dbc9838e37d20765e32b4e2714 (patch)
tree86ac630a97d327c92e571d7bec91b9fe5bec4b0c /host/Rory-desktop/edu/mongodb.nix
parentFix server (diff)
downloadRory-Open-Architecture-2f2f4d4ff56300dbc9838e37d20765e32b4e2714.tar.xz
desktop changes desktop
Diffstat (limited to 'host/Rory-desktop/edu/mongodb.nix')
-rw-r--r--host/Rory-desktop/edu/mongodb.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/host/Rory-desktop/edu/mongodb.nix b/host/Rory-desktop/edu/mongodb.nix
new file mode 100644

index 0000000..92ffc6a --- /dev/null +++ b/host/Rory-desktop/edu/mongodb.nix
@@ -0,0 +1,20 @@ +{ + config, + pkgs, + lib, + ... +}: + +{ + services.mongodb = { + enable = true; + package = pkgs.mongodb-ce; + enableAuth = true; + initialRootPasswordFile = "/etc/mongo-pass"; + #bind_ip = "/run/mongodb.sock"; + extraConfig = '' + net.unixDomainSocket.filePermissions: 0777 + ''; + }; + +}