From 069008dea5f3d9cc1829aee1fc390034e1926de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 3 Nov 2023 19:17:39 +0000 Subject: [PATCH] control mosquitto version and data dir --- nixos/boxes/bolty/home-assistant.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/boxes/bolty/home-assistant.nix b/nixos/boxes/bolty/home-assistant.nix index c0b1f01d..3dcfb0e1 100644 --- a/nixos/boxes/bolty/home-assistant.nix +++ b/nixos/boxes/bolty/home-assistant.nix @@ -16,6 +16,8 @@ in { networking.firewall.allowedTCPPorts = [port 1883 8089]; services.mosquitto = { enable = true; + package = inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".mosquitto; + dataDir = "/data/mosquitto"; listeners = [ { port = 1883;