nix-option-types
CommunityDefine robust Nix option interfaces.
Authorkhaneliman
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Nix module option definitions can be verbose and error-prone; this Skill provides patterns and helpers to standardize options, across types and submodules.
Core Features & Use Cases
- Prefers helpers like mkEnableOption, mkPackageOption, and mkOption to simplify option declarations.
- Demonstrates basic and collection types for options (strings, ints, ports, paths, and packages) and submodule patterns.
- Serves as a scalable reference for building Nix modules with consistent interfaces across multiple files.
Quick Start
Use the patterns shown to define a Nix module by replacing placeholders with your project’s option names and types.
Dependency Matrix
Required Modules
None requiredComponents
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/khaneliman/khanelinix/archive/main.zip#nix-option-types Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.