updated matts user

This commit is contained in:
2025-08-17 08:11:22 -04:00
parent 2325249687
commit 501a838be9
2 changed files with 18 additions and 0 deletions

View File

@@ -48,6 +48,12 @@ in
host gcw gcw 192.168.90.1/24 trust
host gcw gcw 127.0.0.1/32 trust
# math
local postgres math trust
host postgres math 127.0.0.1/32 trust
host postgres math ::1/128 trust
host postgres math 192.168.90.1/24 trust
'';
identMap = ''
@@ -110,8 +116,19 @@ in
replication = true;
};
}
{
name = "math";
ensureDBOwnership = true;
ensureClauses = {
login = true;
createrole = true;
createdb = true;
replication = true;
};
}
];
ensureDatabases = [
"math"
"gcw"
"hass"
"megan"