services.librenms.database.passwordFile
NixOS option
A file containing the password for the user of the MySQL/MariaDB server. Must be readable for the LibreNMS user. Ignored if ‘socket’ is defined, mandatory otherwise.
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/monitoring/librenms.nixView source on NixOS/nixpkgs →"/run/secrets/mysql.pass"