NixOSBuild

Automate NixOS system builds and fix errors until success.

2|Updated Jul 26, 2025
One-click install
npx skills add https://github.com/fullykubed/nixos-config --skill nixosbuild
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: NixOSBuild
Source: https://github.com/fullykubed/nixos-config/tree/main/modules/common/claude/skills/NixOSBuild
Command: npx skills add https://github.com/fullykubed/nixos-config --skill nixosbuild

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Builds NixOS configurations automatically and fixes failures in a loop until successful, reducing manual debugging toil.

Core Features & Use Cases

  • Automates the NixOS build-and-fix loop for multiple hostnames and worktrees
  • Analyzes build outputs, routes to appropriate workflows, and consults reference docs
  • Supports deployment scenarios and iterative error resolution across environments

Quick Start

Initiate the workflow with a target hostname and worktree to start the automated build-and-fix loop.

Frequently Asked Questions about NixOSBuild

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

FAQPage Schema
How do I automate NixOS system builds and fix errors automatically?

Automating NixOS builds involves running a build-and-fix loop that parses hostname and worktree arguments, analyzes build outputs, and applies iterative error resolution until the build succeeds. This reduces manual debugging toil across multiple hosts.

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

Managing NixOS deployments across worktrees requires passing the target hostname and worktree path to an orchestration workflow. The system validates the worktree path, routes to the build workflow, and consults reference docs to resolve errors iteratively.

Can I use this to resolve iterative build failures for different NixOS hostnames?

Yes, you can resolve iterative build failures for different NixOS hostnames by initiating the workflow with a specific target. It supports managing configurations across multiple hosts and worktrees, covering deployments and iterative error resolution.

How does the NixOS build autofix process work when a build fails?

The NixOS build autofix process works by analyzing the failed build output, routing to the Autofix workflow, reading selected workflow documentation, and automatically applying fixes in a loop until the build succeeds.

Do I need to specify a worktree path to start the NixOS build and fix loop?

Yes, you need to specify a worktree path along with the hostname to start the NixOS build and fix loop. The workflow parses these arguments and validates the worktree path before routing to the build and autofix workflows.