feat : back to basic mysql server
This commit is contained in:
parent
1db4471386
commit
0304c83dd6
1 changed files with 1 additions and 6 deletions
|
@ -64,14 +64,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mysql = {
|
services.mysql = {
|
||||||
|
enable = true;
|
||||||
package = pkgs.mariadb;
|
package = pkgs.mariadb;
|
||||||
ensureDatabases = [ "yeswiki-db" ];
|
|
||||||
ensureUsers = [{
|
|
||||||
name = "yeswiki-db-user";
|
|
||||||
ensurePermissions = { "yeswiki-db" = "ALL PRIVILEGES"; };
|
|
||||||
}];
|
|
||||||
};
|
};
|
||||||
systemd.services.mysql.wantedBy = lib.mkForce [];
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
|
|
Loading…
Reference in a new issue