nix-validation

Community

Comprehensive Nix validation & linting toolkit.

Authorkhaneliman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Validates Nix configurations end-to-end by running formatting, linting, and integrity checks to reduce syntax errors, anti-patterns, and misconfigurations across a codebase.

Core Features & Use Cases

  • Integrated validation workflow including treefmt-nix formatting, statix linting, and deadnix analysis to catch issues early.
  • Flake and module validation for NixOS, home-manager, and darwin configurations, with project-specific pattern enforcement.
  • Use case: when preparing a NixOS upgrade or new module, run the validation suite to ensure correctness and consistency across the repository.

Quick Start

Run a full validation by executing a flake check at the repository root to run all checks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: nix-validation
Download link: https://github.com/khaneliman/khanelinix/archive/main.zip#nix-validation

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.