wordclock-dimmer: Start after mosquitto

This commit is contained in:
Simon Bruder 2022-09-13 18:50:19 +02:00
parent 24db1faff9
commit 057037b1b9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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;