nixos

Automate NixOS and Nix flakes development across multi-repo architectures and airgapped deployments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/eruizc-dev/eruizc-dev --skill nixos-eruizc-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nixos
Source: https://github.com/eruizc-dev/eruizc-dev/tree/main/dotfiles/.config/opencode/skills/nixos
Command: npx skills add https://github.com/eruizc-dev/eruizc-dev --skill nixos-eruizc-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NixOS and Nix flakes development across multiple repositories can be complex, with scattered configurations, modules, and tooling. This skill consolidates guidance to streamline setup, testing, and deployment in multi-repo environments, including airgapped contexts.

Core Features & Use Cases

  • Central patterns for building NixOS configurations, flake inputs/outputs, devShells, overlays, and OCI image packaging.
  • Guidance on integrating home-manager and exporting modules, with reusable templates for multi-host infrastructures.
  • Use cases include creating reproducible workflows across repositories, coordinating changes across hosts, and simplifying maintenance of declarative configurations.

Quick Start

Review the standard NixOS flake structure in your repo and apply the recommended patterns to bootstrap a minimal multi-repo configuration.

Frequently Asked Questions about nixos

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

FAQPage Schema
How do I manage NixOS configurations across multiple repositories?

NixOS configurations across multiple repositories are managed by consolidating scattered modules and flake inputs into reusable templates. This streamlines multi-host infrastructure maintenance and coordinates declarative changes across separate codebases.

How do I set up a Nix flake devShell for local development?

Setting up a Nix flake devShell requires defining flake outputs with declarative development environments. You configure tooling dependencies within the flake structure to create reproducible workflows across repositories.

Can I use home-manager with Nix flakes in a multi-host setup?

Home-manager integrates with Nix flakes in multi-host setups through exported reusable modules. This coordinates user-level declarative configurations alongside system-level NixOS modules within a unified flake structure.

What is the best way to package OCI images using Nix flakes?

Packaging OCI images with Nix flakes leverages declarative build inputs to produce reproducible container artifacts. This ensures containerized applications match the exact dependencies defined in your flake configuration.

Does NixOS flake development work for airgapped deployments?

NixOS flake development supports airgapped deployments through reproducible flake inputs and offline caching. You can bootstrap and maintain multi-repo configurations without relying on continuous internet connectivity.

Why use overlays in a NixOS multi-repo architecture?

Overlays in a NixOS multi-repo architecture allow consistent overriding or extending of package sets across hosts. They ensure custom patches or alternative dependencies apply uniformly throughout declarative infrastructure.