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

This commit is contained in:
2025-10-09 19:18:19 -05:00
parent 228918dd93
commit 7393c5047c

View File

@@ -57,21 +57,20 @@ in
# enable the ${service} service
services.${service} = {
enable = true;
listeners = {
mqtt = {
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;
};
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;
};
};
];
};
# override umask to make permissions work out