From 057037b1b9ecd9138b799e4e6de61868b05d8c67 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 13 Sep 2022 18:50:19 +0200 Subject: [PATCH] wordclock-dimmer: Start after mosquitto --- pkgs/wordclock-dimmer/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/wordclock-dimmer/module.nix b/pkgs/wordclock-dimmer/module.nix index b456f7c..757a4ba 100644 --- a/pkgs/wordclock-dimmer/module.nix +++ b/pkgs/wordclock-dimmer/module.nix @@ -36,7 +36,7 @@ in systemd.services.wordclock-dimmer = lib.mkIf cfg.enable { wantedBy = [ "multi-user.target" ]; - after = [ "network.target" ]; + after = [ "network.target" "mosquitto.service" ]; environment = with cfg.mqtt; { WORDCLOCK_MQTT_USER = user; WORDCLOCK_MQTT_HOST = host;