Compare commits

...

2 Commits

Author SHA1 Message Date
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
ee1b2a4373 Merge pull request 'temp remove attic' (#80) from feature/temp-remove-attic into main
Some checks failed
Check flake.lock / Check health of `flake.lock` (push) Successful in 17s
Check Nix formatting / Perform Nix format checks (push) Successful in 3m6s
Check Nix flake / Perform Nix flake checks (push) Successful in 9m47s
Update flakes / update_lockfile (push) Failing after 3m25s
Reviewed-on: #80
2025-04-06 20:13:25 -04:00

View File

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