add-nixos-machine

Community

Add NixOS machines with validated configs

Authorbinarin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill removes guesswork and manual steps when adding new NixOS machine configurations to a dendritic flake repository by providing templates, a clear checklist, and small helper scripts to manage host IDs, IP allocation, and stateVersion discovery.

Core Features & Use Cases

  • Step-by-step workflow: A checklist that walks through pre-checks, naming, hostId generation, inventory updates, IP allocation, module creation, validation loops, and committing.
  • Templates and examples: Complete module templates for qemu-guest, Proxmox VMs, LXC containers, and bare-metal workstations to copy and adapt.
  • Helper scripts: Utility scripts to generate an 8-character hostId, find an available IP in a network inventory file, and query the default stateVersion from a nixosConfiguration; intended for iterative validation with nix eval and formatting/linting tools.

Quick Start

Run the hostId generator to create an 8-character ID, add it to inventory/host-id.nix, allocate or skip an IP in inventory/networks/home.nix as appropriate, create modules/machines/<machine-name>.nix from the provided templates, validate with ncf eval nixos until clean, run get-state-version.sh to capture the system.stateVersion, then format and lint before committing.

Dependency Matrix

Required Modules

perlnixssh

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-nixos-machine
Download link: https://github.com/binarin/nixos-config-outside/archive/main.zip#add-nixos-machine

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.