services.mysql.configFile
NixOS option
Override the configuration file used by MySQL. By default, NixOS generates one automatically from services.mysql.settings.
type: absolute pathDefault
'' A configuration file automatically generated by NixOS. ''
Example
declared in: nixos/modules/services/databases/mysql.nixView source on NixOS/nixpkgs →pkgs.writeText "my.cnf" '' [mysqld] datadir = /var/lib/mysql bind-address = 127.0.0.1 port = 3336 !includedir /etc/mysql/conf.d/ '';