about summary refs log tree commit diff
path: root/nixos/modules/services/misc/domoticz.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/misc/domoticz.nix')
-rw-r--r--nixos/modules/services/misc/domoticz.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/domoticz.nix b/nixos/modules/services/misc/domoticz.nix
index fd9fcf0b78eb..315092f93351 100644
--- a/nixos/modules/services/misc/domoticz.nix
+++ b/nixos/modules/services/misc/domoticz.nix
@@ -35,6 +35,7 @@ in {
     systemd.services."domoticz" = {
       description = pkgDesc;
       wantedBy = [ "multi-user.target" ];
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
       serviceConfig = {
         DynamicUser = true;