nix-deploy

Automates deployment of NixOS or Darwin configurations to local or remote hosts.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill nix-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nix-deploy
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/nix-deploy
Command: npx skills add https://github.com/iamruinous/nix-config --skill nix-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy NixOS and Darwin configurations to local or remote hosts with confidence, reducing manual setup and drift.

Core Features & Use Cases

  • Dry-run verification to validate changes before applying to a host.
  • Smart deploy that distinguishes local vs remote hosts and Darwin vs Linux platforms.
  • Post-deployment verification steps to confirm services are running and healthy.

Quick Start

Just run a dry-run check and then deploy to your target host to apply the configuration.

Frequently Asked Questions about nix-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate NixOS deployment to remote hosts?

Automate NixOS deployment to remote hosts by using command-driven execution with Just to apply configurations, perform dry-run verification, and run post-deployment health checks across multiple host profiles.

Can I run a dry-run verification before applying NixOS configurations?

Yes, you can run a dry-run verification before applying NixOS or Darwin configurations to validate changes locally or remotely, ensuring configuration accuracy and reducing manual setup drift.

Does this deployment automation support both Darwin and Linux platforms?

Yes, this deployment automation supports both Darwin and Linux platforms, smartly distinguishing between local and remote hosts to apply the correct NixOS or Darwin system configuration.

How do I verify services are running after a NixOS deployment?

Verify services after a NixOS deployment by running built-in post-deployment health checks that confirm whether the applied configuration is running and healthy across your target hosts.

What is the best way to manage staged deployments across multiple NixOS profiles?

Manage staged deployments across multiple NixOS profiles by executing host-specific parameters through Just, allowing targeted remote execution and compatibility checks for each host profile.

Do I need Just to execute NixOS and Darwin deployments?

Yes, you need Just to execute NixOS and Darwin deployments, as this automation relies on command-driven deployment using Just with host-specific parameters for both local and remote execution.