fix(home): add nodejs_22 to herdr-runtime.nix (herdr-web-ui preflight)
test-runner / smoke (push) Canceled after 0s

После 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 мерджит и дедуплицирует,
так что лишней копии не будет.
This commit is contained in:
oqyude committed 2026-10-15 15:33:33 +03:00
1 parent dfcd7f5728
commit 2ab48515b9
1 file changed
+6 -1
+6 -1
View File
@@ -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 ];
}