School: enable mysql

This commit is contained in:
Toast 2023-10-02 12:06:59 +02:00
parent 1c9dced21c
commit efbba16fea
2 changed files with 13 additions and 0 deletions

View file

@ -3,5 +3,6 @@
{ {
imports = [ imports = [
./syncthing.nix ./syncthing.nix
./mysql.nix
]; ];
} }

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.mysql = {
enable = true;
package = pkgs.mysql80;
user = "toast";
group = "users";
};
environment.systemPackages = [ pkgs.mysql-workbench ];
}