From ea02091bfd2b69b47fd51cd335182865ec5f457a Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Sun, 25 Feb 2024 22:05:41 +0100 Subject: [PATCH] feat(user/malte): database extensions --- modules/malte.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/malte.nix b/modules/malte.nix index 035437a..42ddc34 100644 --- a/modules/malte.nix +++ b/modules/malte.nix @@ -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"; }; } ];