From 0cdb4b8697b814895525fbe8fe2ac3fb08ae086d Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 7 Jun 2026 18:46:31 +0200 Subject: [PATCH] =?UTF-8?q?fix(distant-shore):=20build=20on=20sunken-ship?= =?UTF-8?q?=20(avoids=20self-SSH=20on=20closure=20copy)=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake-modules/clan.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake-modules/clan.nix b/flake-modules/clan.nix index 2e974d5..cc4b8fe 100644 --- a/flake-modules/clan.nix +++ b/flake-modules/clan.nix @@ -172,13 +172,15 @@ in { # distant-shore — ThinkPad X13 Gen 2, WiFi, Secure Boot via shim+MOK # (installed standalone, then migrated into clan). targetHost is the LAN # IP for the first `clan machines update`; switch to its ZT IPv6 once the - # mesh is up. Builds on the box itself (it has nix + internet). + # mesh is up. buildHost = sunken-ship: it's an x86_64 builder whose key is + # already in distant-shore's authorized_keys, so the closure copy works + # (building on distant-shore itself needs a fragile self-SSH). machines.distant-shore = { imports = [ { clan.core.enableRecommendedDefaults = false; clan.core.networking.targetHost = "danny@192.168.1.182"; - clan.core.networking.buildHost = "danny@192.168.1.182"; + clan.core.networking.buildHost = "danny@sunken-ship"; } clanHostsModule ../nixos/hosts/distant-shore.nix