بنقرة واحدة
build-push-hosts
Build NixOS host closures deterministically and push them to Attic.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build NixOS host closures deterministically and push them to Attic.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | build-push-hosts |
| description | Build NixOS host closures deterministically and push them to Attic. |
| compatibility | opencode |
| metadata | {"audience":"maintainers","repo":"nixos","workflow":"deploy-cache"} |
I build one or more nixosConfigurations.<host>.config.system.build.toplevel
closures and push them into the configured Attic cache.
I use the repo's deterministic nixos cache subcommand.
Use me when the user wants to:
nix developmainnixos cache interactive multi-selectConfirm the target cache and host scope.
mainBuild each host individually with a 60 minute timeout each.
nix develop --command nixos cache <host>
invocation so each has its own timeout context and does not block others.Run the repo command.
Report clearly.
Dry-run with interactive host selection:
nix develop --command nixos cache --dry-run
Build and push with interactive host selection:
nix develop --command nixos cache
Build and push specific hosts:
nix develop --command nixos cache hub kit pow
Build and push all hosts without prompting:
nix develop --command nixos cache --all
Include iso too:
nix develop --command nixos cache --all --include-iso
nixos cache wrapper with ad hoc build/push commands unless the user asks.iso unless explicitly requested.