nix-module-options

Query NixOS and Home Manager module options from a flake.

1|Updated Oct 23, 2021
One-click install
npx skills add https://github.com/Omegaice/dotfiles --skill nix-module-options
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nix-module-options
Source: https://github.com/Omegaice/dotfiles/tree/main/.claude/skills/nix-module-options
Command: npx skills add https://github.com/Omegaice/dotfiles --skill nix-module-options

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually searching for NixOS or Home Manager module options, their types, descriptions, and examples can be a time-consuming interruption to your workflow. This Skill automates that lookup process, providing immediate, accurate information directly from your flake.

Core Features & Use Cases

  • Programmatic Option Query: Quickly check for the existence of an option, retrieve its full documentation (including type, description, default value, and examples), or list all available options within a specific category.
  • Upstream Purity: Queries directly from official NixOS and Home Manager module lists, ensuring you get accurate, untainted information without including custom user modules.
  • Performance & Offline Access: Leverages pre-evaluated flake-parts arguments for fast, offline queries, eliminating the need for web searches or external tools.
  • Use Case: You're configuring a new service and need to know if services.nginx.enable exists and what its default value is. Or, you want to see all available programs.* options in Home Manager to discover new tools. This Skill provides answers instantly.

Quick Start

Check if the programs.duf option exists in Home Manager and provide its full documentation if it does.

Frequently Asked Questions about nix-module-options

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quickly look up NixOS or Home Manager module options without manual searching?

Query NixOS and Home Manager module options instantly using this Skill to retrieve type, description, default value, and examples directly from your flake, eliminating manual documentation searches and web lookups.

Can I check if a specific NixOS or Home Manager option exists and get its full documentation?

Yes, programmatically query any option by name to verify existence and retrieve complete documentation including type information, descriptions, default values, and usage examples from upstream module lists.

How do I discover available Home Manager or NixOS options within a specific category?

List all available options within a category—like all `programs.*` entries in Home Manager—to explore and discover configuration options relevant to your setup without browsing external references.

Does this tool query custom user modules or only official NixOS and Home Manager options?

This Skill queries only official NixOS and Home Manager module lists, ensuring upstream purity and accurate information without including custom user-defined modules in results.

Can I access NixOS and Home Manager options offline or do I need web searches?

Access options offline using pre-evaluated flake-parts arguments for fast, local queries without requiring internet access or external tool dependencies for configuration lookups.

What's the best way to integrate option lookups into my NixOS or Home Manager configuration workflow?

Use programmatic option queries to check option existence and retrieve documentation during configuration development, enabling faster decision-making when adding or modifying services and programs.