Add homepage database for chir.rs

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-18 08:41:47 +01:00
parent f3ebad158c
commit 186a2e4202
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -19,4 +19,9 @@
proxyPass = "http://localhost:8621/api.chir.rs/"; proxyPass = "http://localhost:8621/api.chir.rs/";
}; };
}; };
services.postgresql.ensureDatabases = [ "homepage" ];
services.postgresql.ensureUsers = [{
name = "homepage";
ensurePermissions = { "DATABASE homepage" = "ALL PRIVILEGES"; };
}];
} }