summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-01 18:03:56 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-01 18:03:56 +0200
commita2e86e18a7082380e2b4693627f8ef6e03fdc842 (patch)
tree1bd8c9d760bbbdda4cecf0fff47912b1eae86690
parentfix(disko): explicitely state type of main disk (diff)
downloadnixos-server-a2e86e18a7082380e2b4693627f8ef6e03fdc842.tar.gz
nixos-server-a2e86e18a7082380e2b4693627f8ef6e03fdc842.zip
fix(nix-sync): Explicitly set the `network-online.target` dependency
-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"];
   };