add alice to postgres
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 16s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 4m59s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 25m31s

This commit is contained in:
ahuston-0 2025-04-07 15:44:42 -04:00
parent ee1b2a4373
commit b5d849c844

View File

@ -28,12 +28,26 @@ in
''; '';
# initialScript = config.sops.secrets."postgres/init".path; # initialScript = config.sops.secrets."postgres/init".path;
ensureDatabases = [ "atticd" ]; ensureDatabases = [
"atticd"
"alice"
];
ensureUsers = [ ensureUsers = [
{ {
name = "atticd"; name = "atticd";
ensureDBOwnership = true; ensureDBOwnership = true;
} }
{
name = "alice";
ensureDBOwnership = true;
ensureClauses = {
superuser = true;
login = true;
createrole = true;
createdb = true;
replication = true;
};
}
]; ];
refreshCollation = true; refreshCollation = true;
@ -48,6 +62,7 @@ in
"hydra-send-stats" "hydra-send-stats"
"hydra-server" "hydra-server"
"atticd" "atticd"
"gitea"
]; ];
}; };
}; };