many updates to lio and o001

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-04-25 08:59:32 -05:00
parent 214e6f289d
commit 06fe42789a
9 changed files with 230 additions and 119 deletions

View file

@ -0,0 +1,28 @@
{
pkgs,
...
}:
{
services.postgresql = {
enable = true;
package = pkgs.postgresql_17.withJIT;
enableJIT = true;
extensions = with pkgs.postgresql17Packages; [
# NOTE add extensions here
pgvector
postgis
pgsodium
pg_squeeze
];
authentication = ''
local all all trust
host all all 127.0.0.1/8 trust
host all all ::1/128 trust
host all all 192.168.100.0/24 trust
'';
};
services.postgresqlBackup = {
enable = true;
};
}