infra: add inital scripts

This commit is contained in:
Johannes Jöns 2024-07-10 20:00:33 +02:00
parent 613b6a9314
commit 9eab13b93e

View file

@ -35,5 +35,9 @@ in
ensureDBOwnership = true;
}
];
initialScript = pkgs.writeText "init-sql-script" ''
alter user postgres with password 'postgres';
alter user ${user} with password '${user}';
'';
};
}