about summary refs log tree commit diff
path: root/users/grfn/system
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system')
-rw-r--r--users/grfn/system/system/machines/ogopogo.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/grfn/system/system/machines/ogopogo.nix b/users/grfn/system/system/machines/ogopogo.nix
index 26694fce34a5..eb799621c3d2 100644
--- a/users/grfn/system/system/machines/ogopogo.nix
+++ b/users/grfn/system/system/machines/ogopogo.nix
@@ -86,4 +86,16 @@
     vSync = true;
   };
   hardware.opengl.driSupport32Bit = true;
+
+  services.postgresql = {
+    enable = true;
+    enableTCPIP = true;
+    authentication = "host all all 0.0.0.0/0 md5";
+    dataDir = "/data/postgresql";
+    package = pkgs.postgresql_15;
+    port = 5431;
+    settings = {
+      wal_level = "logical";
+    };
+  };
 }