3
0
Fork 0
forked from mirrors/nixpkgs

nixos/engelsystem: don't rely on mysql alias

Since 3edde6562e, we can no longer use
aliases inside the test framework. This has the implication that we can
no longer use aliases in any NixOS modules used by the test framework as
well (which is good), but does mean we need to clean up any instances
where this is the case.
This commit is contained in:
Luke Granger-Brown 2021-06-04 08:42:54 +00:00
parent 69a95613aa
commit 39e225b0f4

View file

@ -89,7 +89,7 @@ in {
# create database # create database
services.mysql = mkIf cfg.createDatabase { services.mysql = mkIf cfg.createDatabase {
enable = true; enable = true;
package = mkDefault pkgs.mysql; package = mkDefault pkgs.mariadb;
ensureUsers = [{ ensureUsers = [{
name = "engelsystem"; name = "engelsystem";
ensurePermissions = { "engelsystem.*" = "ALL PRIVILEGES"; }; ensurePermissions = { "engelsystem.*" = "ALL PRIVILEGES"; };