summary refs log tree commit diff
path: root/host/Rory-laptop/edu/nodejs-dev.nix
blob: 3850cb90c07317351a9f544d161eef9c2e25ff52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
    '';
  };

}