summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/settings/satoshipay.nix26
1 files changed, 0 insertions, 26 deletions
diff --git a/system/settings/satoshipay.nix b/system/settings/satoshipay.nix
index febe4da9..90517a61 100644
--- a/system/settings/satoshipay.nix
+++ b/system/settings/satoshipay.nix
@@ -30,32 +30,6 @@ in
     ip6tables -A nixos-fw -p udp --source ${dockerConfig.fixed-cidr-v6} -j nixos-fw-accept
   '';
 
-  services.mongodb = {
-    enable = true;
-    replSetName = "rs0";
-    bind_ip = "127.0.0.1";
-    dbpath = "/tmp/mongodb";
-  };
-  systemd.services.mongodb.wantedBy = lib.mkForce  [];
-  systemd.timers.mongodb = {
-    description = "Delayed startup of MongoDB";
-    wantedBy = [ "timers.target" ];
-    timerConfig = {
-      OnActiveSec = "1 min";
-    };
-  };
-  systemd.services.mongodb-init = {
-    description = "Init mongodb replicaset";
-    requires = [ "mongodb.service" ];
-    script = "${pkgs.mongodb}/bin/mongo --eval 'rs.initiate()'";
-  };
-  systemd.timers.mongodb-init = {
-    wantedBy = [ "timers.target" ];
-    timerConfig = {
-      OnActiveSec = "2 min";
-    };
-  };
-
   services.postgresql = {
     enable = true;
     ensureDatabases = ["satoshipay"];