nix-reference

Provide concise references for Nix commands, flake patterns, and best practices.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sirn/dotfiles --skill nix-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nix-reference
Source: https://github.com/sirn/dotfiles/tree/main/var/agents/skills/nix-reference
Command: npx skills add https://github.com/sirn/dotfiles --skill nix-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide concise, actionable reference for Nix commands, flake patterns, and best practices to speed up development workflows and reduce guesswork.

Core Features & Use Cases

  • Quick lookups for common nix build, run, develop, and flake-related commands.
  • Patterns and templates for nix-shell, devShell, and mkShell workflows.
  • Best-practice guidance and practical examples for real-world scenarios such as setting up flakes and using devShells in projects.

Quick Start

Look up the core Nix commands you need to build, run, or develop packages with flakes.

Frequently Asked Questions about nix-reference

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

FAQPage Schema
How do I use nix build and nix run commands with flakes?

To use nix build and nix run with flakes, reference concise patterns and templates that guide safe execution. This reference provides practical examples to accelerate your development workflow without guesswork.

What is the best way to set up a devShell in a Nix flake?

The best way to set up a devShell is using mkShell patterns within your flake configuration. This reference provides actionable templates for nix develop workflows to establish isolated project environments.

How do I validate my flake configuration using nix flake check?

You validate configurations by running nix flake check to enforce safe usage and identify errors. This reference covers best practices for executing checks across your dev shells and flake patterns.

What is the difference between nix-shell and nix develop workflows?

nix-shell handles traditional shell workflows, while nix develop manages flake-based devShell environments. This reference provides practical examples for both approaches to guide your Nix development.

Can I use mkShell patterns for real-world NixOS project setups?

Yes, you can use mkShell patterns for real-world NixOS project setups. This reference offers best-practice guidance and templates to configure devShells effectively within your project flakes.