بنقرة واحدة
darwin-switch
Apply the nix-darwin configuration to the current machine.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Apply the nix-darwin configuration to the current machine.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | darwin-switch |
| description | Apply the nix-darwin configuration to the current machine. |
| when_to_use | Use when the user asks to "switch", "rebuild", "apply darwin config", "darwin-rebuild", or otherwise wants the current host's nix-darwin configuration applied. Trigger phrases: "switch", "rebuild darwin", "apply the config", "rebuild this machine". |
| allowed-tools | ["AskUserQuestion","Bash(sudo darwin-rebuild switch *)","Bash(hostname)"] |
Apply the nix-darwin configuration on this host.
Use AskUserQuestion to confirm before running. The action requires sudo and rebuilds system state.
darwin-rebuild switch (Recommended)If the user picks "No" or "Other" with anything other than clear consent, stop and report cancellation.
sudo darwin-rebuild switch --flake ~/git/dudeofawesome/nix-config#$(hostname -s)
Summarize the outcome: success, generation number if shown, or any error. On failure, surface the relevant lines from the output — do not retry automatically.