commit | af6ad43852e2a3739cef1df592a11afe7629db34 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Oct 30 23:08:30 2022 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Oct 30 23:08:30 2022 +0000 |
tree | 10c6daa9422bcaab3e87679ac4d911d08cb963fc | |
parent | 3b465c14cd22dd4fad43035074e6c8ee56f9e093 [diff] |
Install mongodb
diff --git a/modules/mongo.nix b/modules/mongo.nix new file mode 100644 index 0000000..2e59b22 --- /dev/null +++ b/modules/mongo.nix
@@ -0,0 +1,12 @@ +{ pkgs, ... }: { + config = { + services.mongodb = { + package = pkgs.mongodb-4_2; + enable = true; + dbpath = "/tmp/mongodb"; + }; + internal.allowUnfree = ["mongodb" "mongodb-compass"]; + }; + + home.home.packages = [pkgs.mongodb-compass]; +}