using-flake-parts

Installation
SKILL.md

Flake-Parts Expert

Specialized guidance for the flake-parts framework - a modular system for organizing Nix flakes.

What is Flake-Parts?

Flake-parts is a framework that applies the NixOS module system to flake organization. It eliminates boilerplate for multi-system builds by generating per-system outputs automatically.

Core benefit: Define packages once in perSystem, automatically generated for all target systems.

Structure with mkFlake

Flake-parts organizes flakes into logical sections:

{
  inputs.flake-parts.url = "github:hercules-ci/flake-parts";
Installs
Repository
smithery/ai
First Seen
using-flake-parts — smithery/ai