about summary refs log tree commit diff
path: root/nixos/haruka
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/haruka')
-rw-r--r--nixos/haruka/configuration.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 33815e6..eac1cb3 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -158,7 +158,7 @@
     preStart = lib.mkBefore ''
       # Wait until internet is reachable after resuming
       echo "Waiting until the remote is reachable..."
-      until /run/wrappers/bin/ping rsync.net -c1 -q >/dev/null 2>&1; do :; done
+      until /run/current-system/sw/bin/ping rsync.net -c1 -q >/dev/null 2>&1; do :; done
       echo "Remote is reachable, exiting preStart"
     '';
   };