nixcore
Installation
SKILL.md
NixOS Core: Derivations, Functions, Imports & Best Practices
Comprehensive NixOS Configuration Best Practices Skill
This skill provides deep knowledge of NixOS fundamentals: derivations, functions, imports, option declarations, and the module system. Use this skill when creating, checking, debugging, or correcting NixOS configuration files.
Overview
This skill enables Gemini Code to effectively work with NixOS by understanding:
- Nix Language: Functions, let-in, with, inherit, recursion patterns
- Derivation System: Building packages with stdenv.mkDerivation
- Import System: Module imports, callPackage, overlays
- Option System: Declaring and using options with proper types
- Module System: Understanding config, lib, pkgs, and module structure
- Best Practices: Following community standards and avoiding anti-patterns
- Debugging: Techniques for finding and fixing configuration issues