Add mosquitto
Some checks failed
Check flake syntax / flake-check (push) Successful in 25m25s
Hydra callback / on_push (pull_request) Has been skipped
Hydra callback / on_pr (pull_request) Failing after 3h14m30s

This commit is contained in:
2026-08-08 16:41:40 +02:00
parent 6b70d4d151
commit 3de04bb5d4

View File

@@ -42,6 +42,15 @@ in
# Set your time zone.
time.timeZone = "Europe/Berlin";
services.mosquitto = {
enable = true;
listeners = [{
acl = [ "pattern readwrite #" ];
omitPasswordAuth = true;
settings.allow_anonymous = true;
}];
};
services = {
gatekeeper = {
enable = true;
@@ -50,7 +59,7 @@ in
MIFARE_ACL_READ_BASE_KEY="741a50f2b189cc9f151e0600f50a6e1a"
MIFARE_ACL_WRITE_BASE_KEY="f1aa99f81cca268de98d422ee0ccb65c"
SECRET_KEY="8b14d0b447bff7efa24d5019cc59a999786e31f6f865173bbd642bf18de5ad85"
MQTT_HOST = "192.168.178.120"
MQTT_HOST = "localhost"
MQTT_PORT = "1883"
'';
mock = "False";
@@ -77,7 +86,7 @@ in
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedTCPPorts = [ 80 443 1883];
system.stateVersion = "23.05";
}