summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-05-02 14:04:39 +0200
committermakefu <github@syntax-fehler.de>2017-05-02 14:04:39 +0200
commit0fdb899e5de50cdaf9cb6e2297dd80ba8d04b1d2 (patch)
treeafdb203f668925f137b409229e5d2e9b5ea29c52
parent6baf8704a4ce643cc8bdab8d122d187225afb6ca (diff)
m 1 omo: add mqtt
-rw-r--r--makefu/1systems/omo.nix3
-rw-r--r--makefu/2configs/mqtt.nix9
2 files changed, 12 insertions, 0 deletions
diff --git a/makefu/1systems/omo.nix b/makefu/1systems/omo.nix
index ff34ee843..91785a078 100644
--- a/makefu/1systems/omo.nix
+++ b/makefu/1systems/omo.nix
@@ -55,7 +55,10 @@ in {
../2configs/logging/central-stats-server.nix
# ../2configs/logging/central-logging-server.nix
../2configs/logging/central-stats-client.nix
+
+ # services
../2configs/syncthing.nix
+ ../2configs/mqtt.nix
# ../2configs/logging/central-logging-client.nix
# ../2configs/torrent.nix
diff --git a/makefu/2configs/mqtt.nix b/makefu/2configs/mqtt.nix
new file mode 100644
index 000000000..39c9fdfdd
--- /dev/null
+++ b/makefu/2configs/mqtt.nix
@@ -0,0 +1,9 @@
+{ ... }:
+{
+ services.mosquitto = {
+ enable = true;
+ host = "0.0.0.0";
+ users = {};
+ allowAnonymous = true;
+ };
+}