add mosquitto
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
"dnote"
|
||||
"octodns"
|
||||
"mealie"
|
||||
"mosquitto/homie"
|
||||
"mosquitto/telegraf"
|
||||
"mosquitto/openhab"
|
||||
"mosquitto/shelly"
|
||||
"mosquitto/mokkimaatti"
|
||||
"gitlab-runner/default"
|
||||
"gitlab-runner/docker"
|
||||
]
|
||||
|
||||
@@ -231,6 +231,50 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
mosquitto = {
|
||||
enable = true;
|
||||
listeners = [
|
||||
{
|
||||
users = {
|
||||
homie = {
|
||||
acl = [
|
||||
"readwrite homie/#"
|
||||
];
|
||||
hashedPasswordFile = secrets."mosquitto/homie".path;
|
||||
};
|
||||
telegraf = {
|
||||
acl = [
|
||||
"read openhab/#"
|
||||
"read homie/#"
|
||||
"read shellies/#"
|
||||
"read mokkimaatti/#"
|
||||
];
|
||||
hashedPasswordFile = secrets."mosquitto/telegraf".path;
|
||||
};
|
||||
openhab = {
|
||||
acl = [
|
||||
"readwrite openhab/#"
|
||||
];
|
||||
hashedPasswordFile = secrets."mosquitto/openhab".path;
|
||||
};
|
||||
shelly = {
|
||||
acl = [
|
||||
"readwrite shellies/#"
|
||||
];
|
||||
hashedPasswordFile = secrets."mosquitto/shelly".path;
|
||||
};
|
||||
mokkimaatti = {
|
||||
acl = [
|
||||
"readwrite mokkimaatti/#"
|
||||
];
|
||||
hashedPasswordFile = secrets."mosquitto/mokkimaatti".path;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
gitlab-runner = {
|
||||
enable = true;
|
||||
services = {
|
||||
|
||||
Reference in New Issue
Block a user