diff options
author | Aspen Smith <root@gws.fyi> | 2023-06-27T19·10-0400 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-06-27T19·15+0000 |
commit | abe0537c3edf5af2336e1bd75b87752dc50d4ebb (patch) | |
tree | 8e9bf07b539dddfb7425a0f0e57e9653076cfd33 | |
parent | 3fa463a7779f3fe318b34164a9c000d6d9cd58ce (diff) |
feat(grfn/ogopogo): Run a postgresql server r/6354
Change-Id: Ib7fcabf846a64968112df7d2a6880132a9aa5ab8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8861 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI Autosubmit: grfn <grfn@gws.fyi>
-rw-r--r-- | users/grfn/system/system/machines/ogopogo.nix | 12 |
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"; + }; + }; } |