feat(user/malte): database extensions

This commit is contained in:
Malte Tammena 2024-02-25 22:05:41 +01:00
parent 12aca47c92
commit ea02091bfd

View file

@ -59,13 +59,12 @@ in {
services.mysql = {
enable = true;
package = pkgs.mariadb;
ensureDatabases = ["notenbuch"];
ensureDatabases = ["notenbuch" "gnomen"];
ensureUsers = [
{
name = "malte";
ensurePermissions = {
"notenbuch.*" = "ALL PRIVILEGES";
"*.*" = "CREATE USER, GRANT OPTION, RELOAD, SELECT, DROP";
"*.*" = "ALL PRIVILEGES";
};
}
];