1
0
Fork 0

Configure podman and koito

This commit is contained in:
Avery 2025-06-21 19:39:41 +00:00
parent 547365c5c3
commit a339897c48
Signed by: Avery
GPG key ID: B684FD451B692E04
6 changed files with 104 additions and 7 deletions

View file

@ -4,8 +4,17 @@ in {
services.postgresql = {
enable = true;
package = pkgs.postgresql_16;
enableTCPIP = true;
dataDir =
"/mnt/ssd-01/postgresql/${config.services.postgresql.package.psqlSchema}";
settings.port = portDefinitions.postgresql;
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
# Allow containers access to the database
host all all 10.89.0.0/16 trust
'';
};
}