porcorosso: make sure the lukegb database exists

This commit is contained in:
Luke Granger-Brown 2022-12-04 02:31:03 +00:00
parent fe09f27f70
commit 494935849b

View file

@ -314,6 +314,7 @@ in {
services.redis.servers."".enable = true; services.redis.servers."".enable = true;
services.postgresql.enable = true; services.postgresql.enable = true;
services.postgresql.ensureDatabases = [ "lukegb" ];
services.postgresql.ensureUsers = [{ services.postgresql.ensureUsers = [{
name = "lukegb"; name = "lukegb";
ensurePermissions = { ensurePermissions = {