From 70551d1e75818cb58fa6010dfb43a881322857c0 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Wed, 17 Sep 2025 16:07:24 +0200 Subject: [PATCH] fix: remove network-online dependency from abra installation service --- common.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/common.nix b/common.nix index f0bb939..ceed2d4 100644 --- a/common.nix +++ b/common.nix @@ -493,8 +493,7 @@ isoConfig systemd.services.workshop-abra-install = { description = "Install abra CLI system-wide with retry logic and proper verification"; wantedBy = [ "multi-user.target" ]; - after = [ "network-online.target" ]; - wants = [ "network-online.target" ]; + after = [ "workshop-system-setup.service" ]; path = with pkgs; [ bash wget @@ -521,13 +520,13 @@ isoConfig # Wait for actual internet connectivity echo "🌐 Waiting for internet connectivity..." - for i in {1..30}; do + for i in {1..300}; do if curl -s --max-time 5 https://abra.coopcloud.tech >/dev/null 2>&1; then echo "✅ Internet connectivity confirmed" break fi - if [ $i -eq 30 ]; then - echo "❌ No internet connectivity after 60 seconds" + if [ $i -eq 300 ]; then + echo "❌ No internet connectivity after 10 minutes" exit 1 fi sleep 2