hahunavth/nix-config
Declarative macOS + NixOS setup: nix-darwin, home-manager and Nix Flakes. Per-host configs, feature toggles, Homebrew casks, mise runtimes, dev shells and sops secrets.
field: Developer tools
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code $ claude mcp add nixos -- nix run github:utensils/mcp-nixos -- $ npx degit hahunavth/nix-config/.claude ./rig-nix-config # inspect, then merge into .claude/
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add nixos -- nix run github:utensils/mcp-nixos -- $ npx degit hahunavth/nix-config/.claude/skills/verify .claude/skills/verify Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/git-add-flake.sh"
}
]
}
]
}
} MCP servers (1)
| server | source | est. tokens |
|---|---|---|
| nix · "nixos" | binary | 2.5k |
Skills (1)
Hooks (2)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | ${CLAUDE_PROJECT_DIR}/.claude/hooks/git-add-flake.sh |
| PostToolUse | Edit|Write | ${CLAUDE_PROJECT_DIR}/.claude/hooks/format-nix.sh |
Slash commands (7)
/add-cask/add-host/build/clean/diff/rebuild/update
Permissions
deny (0)
—
ask (0)
—
allow (30)
Bash(nix build:*)
Bash(nix eval:*)
Bash(nix flake check:*)
Bash(nix flake metadata:*)
Bash(nix flake update:*)
Bash(nix fmt:*)
Bash(nix search:*)
Bash(nix path-info:*)
Bash(nix store diff-closures:*)
Bash(nix-store --query:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git add:*)
Bash(git ls-files:*)
Bash(statix:*)
Bash(deadnix:*)
Bash(nvd diff:*)
Bash(nh clean all --keep 5 --dry)
Bash(brew info:*)
Bash(brew list:*)
Bash(brew search:*)
Bash(brew --version)
Bash(brew --repository)
Bash(brew --prefix:*)
Bash(scutil --get LocalHostName)
Bash(hostname -s)
Read(//opt/homebrew/Caskroom/**)
Read(//nix/store/**)
Read(//run/current-system/**)
Similar rigs
zenbu-labs/terminal-browser
A browser inside your terminal
Minimalist 815 tok · · Q18
cosmtrek/mindwalk
A visualization tool that replays coding-agent sessions on a 3D map of your codebase.
Minimalist 1.1k tok · · Q0
alleriasun/clearclaw
—
Minimalist 1.1k tok · · Q0
dongnguyenvie/BashCut
Native macOS video editor that coding agents can drive: everything the UI does, Claude Code and Codex can do through the bashcut CLI or MCP server. Layered timeline, captions, voiceover, plugins.
Minimalist 276 tok · · Q3