From 0fdb899e5de50cdaf9cb6e2297dd80ba8d04b1d2 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 2 May 2017 14:04:39 +0200 Subject: [PATCH] m 1 omo: add mqtt --- makefu/1systems/omo.nix | 3 +++ makefu/2configs/mqtt.nix | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 makefu/2configs/mqtt.nix 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; + }; +}