Compare commits

...

1 Commits

Author SHA1 Message Date
82fe975737
add alice to postgres
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 22s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 5m51s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 22m27s
2025-04-07 15:45:15 -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"
];
};
};