From 61f88e73ef2a83ec67450feee25c38067aa4d05b Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 4 Aug 2019 04:49:22 +0200 Subject: [PATCH] Fixed initial databases if not enabled. --- services/mariaDB.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;