summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/settings/satoshipay.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/system/settings/satoshipay.nix b/system/settings/satoshipay.nix
index 90517a61..351f3d34 100644
--- a/system/settings/satoshipay.nix
+++ b/system/settings/satoshipay.nix
@@ -30,30 +30,6 @@ in
     ip6tables -A nixos-fw -p udp --source ${dockerConfig.fixed-cidr-v6} -j nixos-fw-accept
   '';
 
-  services.postgresql = {
-    enable = true;
-    ensureDatabases = ["satoshipay"];
-    authentication = ''
-      # TYPE  DATABASE        USER            ADDRESS                 METHOD
-      local   all             postgres                                trust
-      local   all             all                                     md5
-    '';
-    ensureUsers = [
-      {
-        name = "alan";
-        ensurePermissions = {
-          "DATABASE satoshipay" = "ALL PRIVILEGES";
-        };
-      }
-      {
-        name = "satoshipay";
-        ensurePermissions = {
-          "DATABASE satoshipay" = "ALL PRIVILEGES";
-        };
-      }
-    ];
-  };
-
   nix.gc.dates = "12:30";
   system.autoUpgrade.dates = "13:05";