nix-option-types

Community

Master Nix option types with strict patterns.

Authoraytordev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Nix projects often struggle with inconsistent option definitions and weak type safety. This Skill provides a concise guide to using mkOption, lib.types, and submodule patterns to create robust, maintainable configurations.

Core Features & Use Cases

  • Clear guidance on Basic Types, Collection Types, Submodules, and Package Options.
  • Real-world patterns for attrsOf, enum, and submodule compositions to build scalable Nix modules.
  • Use cases across NixOS modules, Home Manager configurations, and nixpkgs overlays.

Quick Start

Define your first option using a typed mkOption with a concrete type and a minimal example to illustrate the pattern.

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-option-types
Download link: https://github.com/aytordev/system/archive/main.zip#nix-option-types

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 223,000+ vetted skills library on demand.