diff --git a/services/mariaDB.nix b/services/mariaDB.nix index d3f2a09..cfed27c 100644 --- a/services/mariaDB.nix +++ b/services/mariaDB.nix @@ -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;