feat(tyr): add mosquitto.

This commit is contained in:
CronyAkatsuki 2025-10-30 11:23:24 +01:00
parent 8136075cf5
commit 5611a27d61
2 changed files with 19 additions and 0 deletions

View file

@ -9,5 +9,6 @@
./dns.nix ./dns.nix
./traefik.nix ./traefik.nix
./home-assistant.nix ./home-assistant.nix
./mosquitto.nix
]; ];
} }

View file

@ -0,0 +1,18 @@
{
services.mosquitto = {
enable = true;
listeners = [
{
users.crony = {
acl = ["readwrite #"];
hashedPassword = "$7$101$3MqAfbz8vp9VMrMG$nvHnl1fEX1H3JeH98JGBjdBiKZ02RW7kSBMSQK2fHzU+3hinebJxW8QMpdaH9TYKoeM9PS0y+pzvYnrk0/tkIQ==";
};
}
];
};
networking.firewall = {
enable = true;
allowedTCPPorts = [1883];
};
}