services.mysql.configFile
Override the configuration file used by MySQL. By default,
NixOS generates one automatically from services.mysql.settings.
- Type
absolute path- Default
'' A configuration file automatically generated by NixOS. ''- Example
pkgs.writeText "my.cnf" '' [mysqld] datadir = /var/lib/mysql bind-address = 127.0.0.1 port = 3336 !includedir /etc/mysql/conf.d/ '';- Declared
- <nixpkgs/nixos/modules/services/databases/mysql.nix>