Compare commits

...

2 Commits

Author SHA1 Message Date
1998205bb0 Merge pull request 'add alice to postgres' (#81) from feature/temp-remove-attic into main
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 13s
Check Nix formatting / Perform Nix format checks (push) Successful in 3m31s
Check Nix flake / Perform Nix flake checks (push) Failing after 8m54s
Update flakes / update_lockfile (push) Successful in 18m48s
Reviewed-on: #81
2025-04-07 18:28:07 -04:00
b5d849c844 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
2025-04-07 18:00:46 -04:00

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"
]; ];
}; };
}; };