Nix Darwin

Manage macOS system defaults, Homebrew casks, Lix or Nix daemon settings, and Home Manager packages and dotfiles with a nix-darwin flake. Use when adding packages or casks, changing macOS defaults or launchd agents, debugging flake evaluation or brew bundle failures, or activating changes from an agent shell.

23 stars 1 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jpoehnelt/skills --skill nix-darwin
Manual install
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/nix-darwin ~/.claude/skills/nix-darwin

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# macOS configuration with nix-darwin

Declare all macOS system settings, packages, and dotfiles in the flake instead of running imperative installers or mutating local preference files by hand.

Repo facts (from `AGENTS.md` or `CLAUDE.md`): the flake directory path, the shared `nix-darwin` module path, the shared Home Manager module path, the per-host override directory, and how local secrets are stored.

## Place each setting in the right layer

- Put macOS `system.defaults`, PAM settings, `/etc` files, and GUI Homebrew casks in the `nix-darwin` module.
- Put CLI packages, dotfiles, shell aliases, `home.sessionVariables`, and user `launchd.agents` in the Home Manager module.
- Put user `PATH` additions in `programs.zsh.initContent` or `zprofile` instead of relying only on `home.sessionPath` in `~/.zshenv`. macOS `/etc/zprofile` runs `path_helper` after `~/.zshenv`, and `login -pf` preserves `__HM_SESS_VARS_SOURCED`.
- Put machine-specific hardware mappings, computer names, and host-only packages in the host module.
- Prefer Nix packages for CLI tools and language toolchains. Prefer Homebrew casks for GUI `.app` bundles that auto-update or need macOS code-signing entitlements.

## Evaluate and build

1. Stage any new file before evaluating the flake. Nix flakes ignore untracked Git files and fail with a missing-file error:
   ```bash
   git -C <flake-dir> add --intent-to-add <new-file>
   ```
Read the full skill on GitHub

Details

Skill name
nix-darwin
Path
nix-darwin/SKILL.md
License
MIT
Repo updated
12 November 2026

FAQ

What does the Nix Darwin skill do?

Manage macOS system defaults, Homebrew casks, Lix or Nix daemon settings, and Home Manager packages and dotfiles with a nix-darwin flake. Use when adding packages or casks, changing macOS defaults or launchd agents, debugging flake evaluation or brew bundle failures, or activating changes from an agent shell.

How do I install the Nix Darwin skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jpoehnelt/skills --skill nix-darwin. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Nix Darwin popular?

It lives in jpoehnelt/skills, which has 23 GitHub stars and 1 forks.

Related skills

Agents Correct

23

jpoehnelt/skills

Find the mistakes agents keep repeating in a repo and make each one impossible, trying architecture first, then types, lint, tests, and docs last. Use when the operator keeps correcting the same mistake, or for /agents-correct.

AI, LLMs & Agents

Agents Create Verification Skill

23

jpoehnelt/skills

Generate a project-local verify skill that drives the app like a user through a browser with Playwright, a CLI, or HTTP. Use for /agents-create-verification-skill, "make a verify skill for this repo", or when a project has no scripted way to prove UI, CLI, or service behavior.

AI, LLMs & Agents

Agents Reflect

23

jpoehnelt/skills

After a work session, review what went wrong and right and turn each lesson into a concrete edit to an existing skill or AGENTS.md line. Use when the user says "reflect" or /agents-reflect.

AI, LLMs & Agents

Pac Admin Query

9

Laskewitz/pac-admin-query

Build and run Power Platform inventory queries with pac admin query. Use when a user wants to list, filter, count, aggregate, export, or inspect tenant-wide Power Apps, Power Automate flows, Copilot Studio agents, environments, environment groups, connectors, or other Power Platform inventory resources.

AI, LLMs & Agents

Jeffdean Mind

9

closedsi-engineering/JeffDean-Mind

Jeff Dean의 엔지니어링 사고방식으로 설계·코딩·리뷰를 수행한다. 시스템 설계, 아키텍처 결정, 성능 최적화, 분산 시스템, 확장성(스케일링), 지연시간(latency) 분석, 인프라 설계, 기술 선택, 코드 리뷰, 병목 분석, AI/ML 시스템 설계, 스타트업 기술 전략 관련 작업 시 사용한다. Triggers: "설계해줘", "아키텍처", "성능", "최적화", "확장", "스케일", "병목", "지연시간", "latency", "분산", "distributed", "design review", "백오브엔벨로프", "back-of-envelope", "제프 딘", "jeff dean", "capacity planning", "SLO", "p99".

AI, LLMs & Agents

Solidworks AI Bridge

9

Mochaxgcc/solidworks-ai-bridge

Bridge a local AI coding agent to SolidWorks through the Windows COM Automation API for automated CAD modeling, parametric part and assembly creation, macro-like API calls, template discovery, dependency setup, controlled document cleanup, preview image export, and neutral CAD export for downstream CAE/CFD workflows such as Ansys Fluent, Ansys Mechanical, COMSOL Multiphysics, or other simulation tools. Use when the user asks to connect an agent with SolidWorks, drive an open SolidWorks session, avoid accumulating many Part/零件 windows, troubleshoot SldWorks.Application COM access, create SolidW

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.