escape drone-server database name

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-23 08:30:41 +01:00
parent 8bf33e50c6
commit c292f015e9
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -43,7 +43,7 @@ in {
services.postgresql.ensureUsers = [ services.postgresql.ensureUsers = [
{ {
name = "drone-server"; name = "drone-server";
ensurePermissions = {"DATABASE drone-server" = "ALL PRIVILEGES";}; ensurePermissions = {"DATABASE \"drone-server\"" = "ALL PRIVILEGES";};
} }
]; ];
services.nginx.virtualHosts."drone.chir.rs" = { services.nginx.virtualHosts."drone.chir.rs" = {