1
0
Fork 0

mediaserver: update config

This commit is contained in:
Daniel Kempkens 2024-09-01 14:19:15 +02:00
parent adee1c5f81
commit 635d20815a
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 46 additions and 34 deletions

View file

@ -17,7 +17,8 @@
}; };
}; };
services.mosquitto.listeners = [ services.mosquitto = {
listeners = [
{ {
address = "0.0.0.0"; address = "0.0.0.0";
port = 1883; port = 1883;
@ -55,6 +56,17 @@
} }
]; ];
bridges.home-assistant = {
addresses = [{ address = "10.0.0.230"; port = 1883; }];
settings = {
remote_username = "mqtt_bridge";
remote_password = "verySecurePassword";
try_private = true;
};
topics = [ "hadata/# out" "deye/# out" ];
};
};
networking.firewall.interfaces = networking.firewall.interfaces =
let let
mosquittoPorts = [ 1883 ]; mosquittoPorts = [ 1883 ];