From 48bd3354942d7415dee782ae5d827f08e58d7bd7 Mon Sep 17 00:00:00 2001 From: alexion Date: Tue, 25 Aug 2026 21:50:43 -0400 Subject: [PATCH] docs(agents): record deploy helper --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 47de5e2..a25dfa5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -103,6 +103,7 @@ The domain model (Host, Module, Skeleton, Auto-loader, Enable convention, overla Keep `git.alexion.dev:2022` working by proxying that TCP stream through the reverse-proxy guest to Gitea. - Remote deploy helpers that run target-side `sudo` over SSH need a TTY. Use `ssh -t` unless the target command is guaranteed not to prompt for sudo credentials. +- Branch deploys to another host should use the flake-managed `deploy-to [branch]` fish function when available instead of hand-writing the SSH and `nixos-rebuild` command. - `self.lib.registry.collect { hosts = self.nixosConfigurations; }` reads top-level host `config.registry` declarations only. Registry declarations inside guest interiors live under `config.containers..config.registry` and do not enter the collected fleet registry unless host-side code also publishes them or the collector is explicitly extended to recurse into guests. - A NixOS module function argument default such as `registry ? config.registry` is not a safe fallback for an unprovided module argument.