What problem does it solve?
This skill helps teams manage complex multi-platform configurations by separating public configuration logic from sensitive data using a platform-agnostic three-file pattern for NixOS and macOS.
Core Features & Use Cases
- Three-file pattern: default.nix (platform-agnostic), nixos.nix (Linux-specific), and darwin.nix (macOS-specific) to enable clean, reusable modules.
- Layered configuration: hosts/common/core, hosts/common/optional, hosts/common/users, and host-specific directories allow scalable inheritance and customization.
- Separation of concerns: public configuration vs private data via nix-config and nix-secrets, with documentation and quick-start guidance.
Quick Start
Create a new host by scaffolding default.nix along with nixos.nix and/or darwin.nix, and connect them to host specs while storing secrets in nix-secrets/secrets/${hostname}.yaml.