commit | 2bad969ce85c45f1682b233fca10664fa1be075c | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Mon Jun 06 19:03:16 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Mon Jun 06 19:03:16 2022 +0100 |
tree | 5e563e056f0714d002cb73a1ce6a808dc6c7ac39 | |
parent | d63fcd588702a5907814d195e9d8dadd8b57557e [diff] [blame] |
Move overlays up so that systempackages can also access them; use a mongodb package from bryanasdev000
diff --git a/src/apps/system/mongo.nix b/src/apps/system/mongo.nix new file mode 100644 index 0000000..e95f8b5 --- /dev/null +++ b/src/apps/system/mongo.nix
@@ -0,0 +1,7 @@ +{ nixpkgs-mongodb-fix, ... }: { + services.mongodb = { + package = (import nixpkgs-mongodb-fix { inherit system; config = { allowUnfree = true; }; }).mongodb-4_4; + enable = true; + dbpath = "/tmp/mongodb"; + }; +}