summary refs log tree commit diff
path: root/host/Rory-laptop/edu/nodejs-dev.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-laptop/edu/nodejs-dev.nix')
-rw-r--r--host/Rory-laptop/edu/nodejs-dev.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/host/Rory-laptop/edu/nodejs-dev.nix b/host/Rory-laptop/edu/nodejs-dev.nix
new file mode 100644

index 0000000..3850cb9 --- /dev/null +++ b/host/Rory-laptop/edu/nodejs-dev.nix
@@ -0,0 +1,25 @@ +{ + config, + pkgs, + lib, + ... +}: + +{ + environment.systemPackages = with pkgs; [ + nodejs_latest + + ]; + + services.mongodb = { + enable = true; + package = pkgs.mongodb-ce; + enableAuth = true; + initialRootPasswordFile = "/etc/mongo-pass"; + #bind_ip = "/run/mongodb.sock"; + extraConfig = '' + net.unixDomainSocket.filePermissions: 0777 + ''; + }; + +}