nix-darwin
nix-darwin copied to clipboard
Add MySQL module
Hi all. I've hacked up a MySQL module based on the existing one in NixOS and the postgres and redis modules. You can see my changes here. I am having trouble getting this module and the postgres and redis modules to run on my current set-up however. You can view my configuration here. It seems like mysqld is having trouble creating its directories and sockets, but I'm not too sure.
I guess, concretely, I'm asking: how does one typically configure the existing postgres and redis modules when in use? It's not obvious to me. I ask because I would like to make the mysql module work similarly to them.
Any update? I am trying to install mysql on a Darwin machine too.
I built some modules for my own needs. There is also one for MySQL https://github.com/shyim/nix-darwin-modules#mysql