users.mysql.passwordFile

NixOS option

The path to the file containing the password for the user

type: absolute path
Example
"/run/secrets/mysql-auth-db-passwd"
declared in: nixos/modules/config/mysql.nixView source on NixOS/nixpkgs →