MyNixOS website logo
option

services.mosquitto.listeners.*.users.<name>.passwordFile

Specifies the path to a file containing the clear text password for the MQTT user. The file is securely passed to mosquitto by leveraging systemd credentials. No special permissions need to be set on this file.

Declarations
Type
null or path
Default
null
Example
"/path/to/file"