summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-02-28 09:50:51 +0100
committerAlan Pearce2018-02-28 09:50:51 +0100
commitd8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8 (patch)
tree1ee38170445868d3e1b5e0248cfb2054aaf7dd57 /modules
parent2b7010c2385ba4b5c705ff58d5d7d73949c757aa (diff)
downloadnixos-configuration-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.tar.lz
nixos-configuration-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.tar.zst
nixos-configuration-d8ce8317b0dba0c6db5bf05e8dbc06b35f5b4fb8.zip
satoshipay: Use a mongo "replica set"
Diffstat (limited to 'modules')
-rw-r--r--modules/satoshipay.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index 7b0dc5e..501ba49 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -36,6 +36,7 @@
 
   services.mongodb = {
     enable = true;
+    replSetName = "rs0";
   };
   systemd.services.mongodb.wantedBy = lib.mkForce  [];
   services.redis = {