1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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"; };