summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-09-20 10:54:25 +0200
committerAlan Pearce2018-09-20 10:54:25 +0200
commit474a3757e7eb9d57d040c6f95c3b689c17288bca (patch)
treee240f0dc2580021e3fb7a19169c3631be87885bc
parent05011c3fe1b68c3414fc8a34307c2a07f9427a34 (diff)
downloadnixos-configuration-474a3757e7eb9d57d040c6f95c3b689c17288bca.tar.lz
nixos-configuration-474a3757e7eb9d57d040c6f95c3b689c17288bca.tar.zst
nixos-configuration-474a3757e7eb9d57d040c6f95c3b689c17288bca.zip
satoshipay: use tmpdir for mongodb
-rw-r--r--modules/satoshipay.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index ee5ae9a..75a0407 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -43,6 +43,7 @@
   services.mongodb = {
     enable = true;
     replSetName = "rs0";
+    dbpath = "/tmp/mongodb";
   };
   systemd.services.mongodb.wantedBy = lib.mkForce  [];
   systemd.timers.mongodb = {