From fee79c889353ddf368fc5fdba54514f0c5602ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Mon, 21 Apr 2025 11:34:02 +0200 Subject: [PATCH] feat: add connection timeout of 1s for remote builders --- clanServices/remote-builders/default.nix | 1 + flake.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clanServices/remote-builders/default.nix b/clanServices/remote-builders/default.nix index 5d38b7e..0250a72 100644 --- a/clanServices/remote-builders/default.nix +++ b/clanServices/remote-builders/default.nix @@ -136,6 +136,7 @@ mkMatch = name: _value: '' Match User remotebuild Host ${name} IdentityFile ${config.clan.core.vars.generators.remotebuild.files."ssh.id_ed25519".path} + ConnectTimeout 1 ''; sshConfig = concatLines (mapAttrsToList mkMatch others); in { diff --git a/flake.nix b/flake.nix index 3f9a5f6..1be4ecf 100644 --- a/flake.nix +++ b/flake.nix @@ -101,7 +101,7 @@ inventory = { machines = { moritz-desktop.tags = ["peer" "client" "worker"]; - moritz-laptop.tags = ["peer"]; + moritz-laptop.tags = ["peer" "client" "worker"]; moritz-server.tags = ["client" "worker"]; }; instances."remote-builders" = {