diff --git a/modules/homelab/services/smarthome/mosquitto/default.nix b/modules/homelab/services/smarthome/mosquitto/default.nix index b001a85..16b4219 100644 --- a/modules/homelab/services/smarthome/mosquitto/default.nix +++ b/modules/homelab/services/smarthome/mosquitto/default.nix @@ -60,14 +60,14 @@ in listeners = { port = cfg.port; settings = { - allow_anonymous false - listener = 1883 - listener = 9001 - protocol = websockets - persistence = true - password_file = ${sec."mosquitto_password_file".path} - persistence_file = ${service}.db - persistence_location = cfg.data_dir + allow_anonymous = false; + listener = 1883; + listener = 9001; + protocol = websockets; + persistence = true; + password_file = ${sec."mosquitto_password_file".path}; + persistence_file = ${service}.db; + persistence_location = cfg.data_dir; }; }; };