From 27138b26603f673184b250486cfe9bffa15e0633 Mon Sep 17 00:00:00 2001 From: oqyude Date: Thu, 15 Oct 2026 15:33:33 +0300 Subject: [PATCH] fix(home): add nodejs_22 to herdr-runtime.nix (herdr-web-ui preflight) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit После feat(essentials): enable programs.nix-ld, bun-runtime plugin install прошёл дальше preflight — теперь падает на следующем шаге: «herdr web ui needs Node 18 or newer for its terminal sidecar, and 'node' is not on the PATH of the shell that started herdr». preflight.sh плагина проверяет `node --version` на PATH. На sapphira node уже был через opencode.nix home.packages (там же, где раньше был bun — мы его оттуда убрали в прошлом рефакторе). На rydiwo opencode не подключён, и node отсутствовал. Добавляю pkgs.nodejs_22 в home.modules.herdr-runtime.nix — это тот же пакет, что используется в opencode.nix (consistency, один major). На sapphira он уже был через opencode; home.packages мерджит и дедуплицирует, так что лишней копии не будет. --- home/modules/herdr-runtime.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/modules/herdr-runtime.nix b/home/modules/herdr-runtime.nix index aa2e315..cf08490 100644 --- a/home/modules/herdr-runtime.nix +++ b/home/modules/herdr-runtime.nix @@ -25,5 +25,10 @@ ... }: { - home.packages = with pkgs; [ bun ]; + # nodejs_22 нужен herdr-web-ui plugin'у — preflight.sh его плагина + # проверяет `node --version` на PATH и отказывается ставить, если + # node < 18 отсутствует («herdr web ui needs Node 18 or newer for its + # terminal sidecar»). На sapphira node уже был через opencode.nix, на + # rydiwo нет — добавляем сюда, чтобы plugin-install прошёл preflight. + home.packages = with pkgs; [ bun nodejs_22 ]; } \ No newline at end of file