summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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"];
   };