1
0

update postgresql config

This commit is contained in:
Sense T 2023-12-02 08:02:48 +08:00
parent c7109cd762
commit ea98efd490

View File

@ -38,36 +38,28 @@ in
ensureUsers = [
{
name = "k3s";
ensurePermissions = {
"DATABASE k3s" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
ensureClauses = {
login = true;
};
}
{
name = "gitea";
ensurePermissions = {
"DATABASE gitea" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
ensureClauses = {
login = true;
};
}
{
name = "vaultwarden";
ensurePermissions = {
"DATABASE vaultwarden" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
ensureClauses = {
login = true;
};
}
{
name = "saysthbot";
ensurePermissions = {
"DATABASE saysthbot" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
ensureClauses = {
login = true;
};