From 1329b5a4ee8ef3b26515e4355cb0e180436d642c Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 15 Nov 2023 16:06:18 +0900 Subject: chore(systems): use system ping --- nixos/alpha/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/alpha/configuration.nix') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 64270c8..326cb08 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -150,7 +150,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" ''; }; -- cgit 1.4.1