npx claudepluginhub paveg/dotfilesRead-only Loki and Prometheus MCP servers for the homelab's obs-01, where Claude Code's own telemetry lands
Nix-based dotfiles for macOS and WSL2, built for working alongside coding agents.

[!NOTE] Work in progress. The
wslbootstrap runs for real in CI after every merge. The Mac bootstrap has not yet run on a real machine.
curl -fsSL https://raw.githubusercontent.com/paveg/dotfiles/main/scripts/bootstrap.sh | bash -s -- <host>
<host> is one of the hosts below and is never guessed. The script installs Nix, clones this repository, and switches. It pauses for the steps only a person can do, such as signing in to 1Password.
After that, from the checkout:
just switch # apply the configuration to this host
just update # move every flake input to its newest version
just check # run the checks that need no Nix build
To wipe and reinstall personal-mac, follow the clean install runbook.
| Host | What it is |
|---|---|
personal-mac | The personal Mac. Also the host agents run on while nobody is at the desk, reached over Tailscale. |
work-mac | The work Mac, behind a TLS-intercepting proxy. Company settings come from Keeper and never enter this repository. |
wsl | WSL2 on a Windows PC. home-manager only, Windows apps installed with winget. |
| Area | Choice |
|---|---|
| System | Determinate Nix, nix-darwin on macOS, home-manager on WSL2 |
| Tools | nixpkgs first. Homebrew casks for macOS apps |
| Shell | zsh under ~/.config, history in atuin |
| Languages | Nix installs mise, uv, rustup, and elan. They install the runtimes |
| Secrets and signing | 1Password (personal), Keeper (work) |
| GitHub | Short-lived tokens from ghtkn. gh is never logged in |
| Coding agents | Claude Code from nixpkgs, with per-profile settings, sandbox, deny rules, and guard hooks |
| Checks | lefthook before each commit, one CI workflow on each pull request |
The reasons behind most choices are in the decision records in docs/adr/.
flake.nix the flake: one output per host
hosts/ per-host settings and packages
nix/ nix-darwin and home-manager modules
home/ files linked into $HOME (zsh, git, Ghostty, Claude Code, ...)
profiles/ the shape of the work profile, with placeholder values
plugins/ Claude Code plugins, listed in .claude-plugin/
scripts/ bootstrap and maintenance scripts
spec/ TLA+ models, checked in CI
tests/ tests that run without a Nix switch
docs/ design, decision records, runbooks
.github/ the CI workflows
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.