nixos-best-practices
Configuring NixOS Systems with Flakes
Configure NixOS systems with flakes, manage overlays properly, and structure configurations for maintainability.
⚠️ CRITICAL: Read Before Making Changes
BEFORE making ANY NixOS configuration changes, you MUST:
- Review relevant rule files from the Quick Reference below
- Check common-mistakes.md to avoid known pitfalls
- Check troubleshooting.md for systematic debugging approach
- Follow existing patterns in the codebase
Do NOT start coding until you've read the applicable documentation.
Most configuration errors happen from not reading the rules first. The 5 minutes you spend reading will save hours of debugging.
Red Flags - STOP BEFORE CODING
More from lihaoze123/my-skills
xcpc-jiangly-style
Use when writing C++ competitive programming solutions for Codeforces, ICPC, or similar contests. Apply when creating XCPC solutions to ensure code follows jiangly's proven style patterns.
17nix-packaging-best-practices
Best practices for packaging pre-compiled binaries (.deb, .rpm, .tar.gz, AppImage) for NixOS, handling library dependencies, or facing "library not found" errors with binary distributions
13writing-best-practices
Use when creating structured best practices guides, organizing technical documentation, or establishing reference materials for teams or agents
8packaging-binary-for-nix
Use when packaging pre-compiled binaries (.deb, .rpm, .tar.gz, AppImage) for NixOS, handling library dependencies, or facing "library not found" errors with binary distributions
1