manual create postgres user for mediawiki

This commit is contained in:
Jonas Gaffke 2022-09-06 17:32:53 +02:00
parent 7114dda9f4
commit 285f92d2a2

View file

@ -26,6 +26,17 @@
};
postgresql = {
enable = true;
ensureUsers = [
{
name = "mediawiki";
ensurePermissions = {
"DATABASE \"mediawiki\"" = "ALL PRIVILEGES";
};
}
];
ensureDatabases = [
"mediawiki"
];
};
};
systemd.services.mediawiki-pgsetup = {