Loading
nixos/mosquitto: use acl-file/password-file plugins
Mosquitto 2.1 deprecated the acl_file and password_file config options in favour of plugins shipping the same code, with removal scheduled for 3.0. Switch the per-listener config generation over to load the plugins instead. per_listener_settings is also deprecated but kept for now since the module design is built around per-listener auth and the 3.0 replacement semantics are not yet finalised upstream. A version assertion is added since the plugins only ship with 2.1+.