Nix
SKILL.md
Nix Best Practices
Purpose
Expert guidance on Nix, NixOS, and home-manager following best practices.
Context Detection
This skill activates when:
- Current directory contains
flake.nix,default.nix,shell.nix, orconfiguration.nix - Git repository contains Nix configuration files
- User is working with
.nixfiles - User explicitly mentions NixOS, home-manager, flakes, or Nix packages
- Commands like
nix build,nixos-rebuild, orhome-managerare mentioned
Workflow Routing
When the user's request matches specific Nix operations, route to the appropriate workflow: