checkpoint

This commit is contained in:
Chris Kruining 2026-04-14 15:27:49 +02:00
parent 66fc9e532a
commit d5b5166b95
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 31 additions and 6 deletions

View file

@ -129,11 +129,12 @@ in {
port = 2007;
};
postgresql = {
ensureDatabases = cfg |> lib.attrNames;
postgresql = let
databases = [] ++ (cfg |> lib.attrNames);
in {
ensureDatabases = databases;
ensureUsers =
cfg
|> lib.attrNames
databases
|> lib.map (service: {
name = service;
ensureDBOwnership = true;