178 current 2025-10-09 16:19:44 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-09 19:16:43 -05:00
parent 4725d90910
commit 228918dd93

View File

@@ -58,16 +58,18 @@ in
services.${service} = { services.${service} = {
enable = true; enable = true;
listeners = { listeners = {
port = cfg.port; mqtt = {
settings = { port = cfg.port;
allow_anonymous = false; settings = {
listener = 1883; allow_anonymous = false;
listener = 9001; listener = 1883;
protocol = websockets; listener = 9001;
persistence = true; protocol = websockets;
password_file = ${sec."mosquitto_password_file".path}; persistence = true;
persistence_file = ${service}.db; password_file = ${sec."mosquitto_password_file".path};
persistence_location = cfg.data_dir; persistence_file = ${service}.db;
persistence_location = cfg.data_dir;
};
}; };
}; };
}; };