nixos/govee2mqtt: start after network-online top hopefully have DNS

Otherwise it crash loops
This commit is contained in:
Sandro Jäckel 2025-06-09 16:28:26 +02:00
parent 1755d9399b
commit d6591b28b1
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -52,7 +52,11 @@ in
systemd.services.govee2mqtt = {
description = "Govee2MQTT Service";
wantedBy = [ "multi-user.target" ];
after = [ "networking.target" ];
after = [
"networking.target"
"network-online.target"
];
requires = [ "network-online.target" ];
serviceConfig = {
CacheDirectory = "govee2mqtt";
Environment = [