summary refs log tree commit diff stats
path: root/system/services/nix-sync/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/services/nix-sync/default.nix')
-rw-r--r--system/services/nix-sync/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/services/nix-sync/default.nix b/system/services/nix-sync/default.nix
index 5ee31dd..99d1372 100644
--- a/system/services/nix-sync/default.nix
+++ b/system/services/nix-sync/default.nix
@@ -12,6 +12,7 @@
     timerConfig = {
       OnUnitActiveSec = repo.interval;
     };
+    wants = ["network-online.target"];
     after = ["network-online.target"];
   };