Fixed initial databases if not enabled.
This commit is contained in:
parent
d9ecea0a17
commit
61f88e73ef
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ let
|
|||
create user if not exists ${cfg.user}@'localhost' identified by ${password};
|
||||
grant all privileges on ${cfg.name}.* to ${cfg.user}@'localhost' identified by ${password};
|
||||
'';
|
||||
} else {};
|
||||
} else { name = ""; };
|
||||
in mkIf (elem "mariaDB" config.machine.services) {
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue