Skip to content

Commit 2bd2bee

Browse files
committed
Move mosquitto to a separate file
1 parent 61cd96c commit 2bd2bee

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

homeassistant.nix

-11
Original file line numberDiff line numberDiff line change
@@ -777,17 +777,6 @@ in
777777

778778
services.influxdb2.enable = true;
779779

780-
services.mosquitto = {
781-
enable = true;
782-
listeners = [
783-
{
784-
acl = [ "pattern readwrite #" ];
785-
omitPasswordAuth = true;
786-
settings.allow_anonymous = true;
787-
}
788-
];
789-
};
790-
791780
services.postgresql = {
792781
enable = true;
793782
authentication = ''

mosquitto.nix

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
services.mosquitto = {
3+
enable = true;
4+
listeners = [
5+
{
6+
acl = [ "pattern readwrite #" ];
7+
omitPasswordAuth = true;
8+
settings.allow_anonymous = true;
9+
}
10+
];
11+
};
12+
}

nixpi4.nix

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
./cloudflared.nix
55
./grafana.nix
66
./homeassistant.nix
7+
./mosquitto.nix
78
];
89

910
boot.extraModprobeConfig = ''

0 commit comments

Comments
 (0)