Dotfiles Slice — AI skill for Claude Code
Sanitized slice of my multi-machine Nix (NixOS + nix-darwin) + Home Manager config — a structural reference for running NixOS with LLM coding agents.
How to install Dotfiles Slice
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gantrydev/dotfiles-slice and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dotfiles Slice does
Sanitized slice of my multi-machine Nix (NixOS + nix-darwin) + Home Manager config — a structural reference for running NixOS with LLM coding agents.
Alternatives in AI
- Memtrace Public — Structural memory for AI coding agents 466 ★
- Octocode — Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o 464 ★
- KittyCrew — A local-first home for AI pets and companions, bringing Claude Code, Codex, and GitHub Copilot together in one 105 ★
README
Dotfiles
A sanitized, representative slice of a personal multi-machine setup managed with **Nix** and **Home Manager**:
- t14 — NixOS on a Lenovo ThinkPad T14 (primary laptop, Hyprland desktop)
- devachine — a remote NixOS dev box
- MacBook-Pro — macOS via nix-darwin (shared, light personal use)
- rpi3 — a headless Raspberry Pi 3 appliance (Home Assistant)
This is published as a reference for **how things are structured**, not a turnkey config. Work/personal and per-machine specifics (identities, keys, client setups) are anonymized or omitted — swap in your own. In particular, a single generic `work` context stands in for whatever real work setup you'd layer on.
Secrets are never committed: they are read from 1Password at runtime (`op read`). Only **public** SSH keys appear in-repo, and here they are placeholders — replace them with your own.
Why this setup
I run this because **NixOS + LLM coding agents** is a genuinely great combination, and most of this repo is built around leaning into it:
- The whole machine is declarative and in one repo. An agent (Claude
Code, Codex, the model-agnostic
piwrapper) can read the entire system + user config as plain text and make precise, reviewable edits — there's no hidden imperative state to reverse-engineer. - Rebuilds are atomic and roll back.
nixos-rebuild switcheither applies cleanly or doesn't, and every prior generation stays bootable. That makes it low-risk to let an agent touch system config: worst case you roll back a generation. - Reproducible, so changes behave the same everywhere — what an agent
does on the t14 lands identically on the devachine. Per-project
nix+direnvdev shells give agents hermetic, declared toolchains instead of "works on my machine." - The LLM tooling itself is Nix-managed — isolated per-account Claude
Code configs (
~/.claude-dian,~/.claude-work), Codex, andpiare all defined here and rebuilt declaratively, so
Related Skills
Nixos AI Skill
Auto-updated NixOS & Nix ecosystem documentation for AI coding assistants — works with 33+ tools via the Agent
Free Claude Code Nix
Free Claude Code packaged for NixOS - Anthropic-compatible local proxy fronting Claude Code with any model bac
Dot Agents
A home for the dot-folders I use with AI tools (.claude, .codex, .cursor, ...): agents, rules, skills, and wor
Nightward
Local-first TUI for auditing AI agent state, MCP config, and dotfiles backup safety
Config Template
Starter kit for one repo that sets up your machines and teaches your AI agents how they fit together: dotfiles
Removing AI Isms
Claude skill that removes the structural, lexical, and tonal tells of machine-written prose
Related Agents
Box
System and config assistant for chryzsh's Kali VM. Use for "fix my tmux/zshrc/shell config", dotfiles changes,
AI Ism Critic
Detects the specific lexical and structural fingerprints of AI-generated prose. The most direct AI-default det
Hass Docs Search
Search Home Assistant documentation. Use when needing to find specific HA development topics like integrations