nix-flake-migration

Installation
SKILL.md

Nix Flake Migration

Migrate projects to the standard Nix flake stack. Based on patterns validated across 126+ projects.

Standard Stack

The ecosystem standard for Go projects:

  • flake-parts (not flake-utils or raw eachDefaultSystem)
  • treefmt-nix with nixfmt, gofumpt, goimports, templ
  • systems input (not hardcoded system lists)
  • git-hooks.nix for pre-commit hooks
  • nixos-unstable channel (not nixpkgs-unstable, unless nix-darwin system flake)

Migration Types

Installs
17
First Seen
May 2, 2026