Skip to content

Commit

Permalink
chore(flakes): bump; prevent mongodb compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Nov 24, 2024
1 parent cb0e989 commit b9975f8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
38 changes: 19 additions & 19 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nixos/hosts/iso-runner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
;;
*)
echo "Access only allowed for building purposes!"
exit 666
exit 4
esac
'';
in
Expand Down
6 changes: 4 additions & 2 deletions nixos/hosts/mongodb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@

# Our MongoDB database
services.mongodb = {
enable = true;
bind_ip = "10.0.5.60";
enable = true;
enableAuth = true;
extraConfig = ''
net.tls.mode: requireTLS
net.tls.certificateKeyFile: /run/credentials/mongodb.service/mongodb.pem
net.tls.CAFile: /run/credentials/mongodb.service/ca.crt
net.tls.allowConnectionsWithoutCertificates: true
'';
quiet = true;
initialRootPassword = "yupHasAlreadyBeenChanged";
# Prevent hours of waiting for mongodb to be compiled
package = pkgs.mongodb-ce;
quiet = true;
};

systemd.services.mongodb = {
Expand Down

0 comments on commit b9975f8

Please sign in to comment.