diff --git a/configuration.nix b/configuration.nix index 1db7616..f801be3 100755 --- a/configuration.nix +++ b/configuration.nix @@ -345,7 +345,7 @@ in services.mysql.initialScript = pkgs.writeText "wordpress-init.sql" '' CREATE DATABASE wordpressdb; - CREATE USER wpusr WITH ENCRYPTED PASSWORD '${personalization.wordpressdb}'; + CREATE USER wpusr WITH ENCRYPTED PASSWORD ${personalization.wordpressdb}; GRANT ALL PRIVILEGES ON DATABASE wordpressdb TO wpusr; FLUSH PRIVILEGES; ''