My Windows config, managed with chezmoi. One repo restores
~/.config, the PowerShell profile, home dotfiles, SSH/GPG keys and secrets
(from Bitwarden), apps (scoop, winget, cargo, node, python) and the
links/junctions the apps expect.
| Path | What |
|---|---|
home/ |
chezmoi source state (.chezmoiroot), maps to ~ |
home/dot_config/ |
config copied into ~/.config |
linked/ |
folders ~/.config/<name> is a junction to (edited live, so edits show up in git status here) |
home/.chezmoidata/packages.yaml |
apps to install |
home/.chezmoidata/links.yaml |
junctions to create |
home/.chezmoiscripts/ |
install / setup scripts chezmoi runs |
lib/Dotfiles.psm1 |
helpers the scripts use (tests in tests/, run Invoke-Pester tests) |
scripts/ |
one-off tools: seed Bitwarden, draft package list, cutover, sandbox test |
The source lives at ~/.local/share/chezmoi. chezmoi cd opens a shell there.
- Download
bootstrap.ps1and run:powershell -ExecutionPolicy Bypass -File .\bootstrap.ps1Run it from a normal (not elevated) window: it asks once, through UAC, to turn on Developer Mode, so winget links its apps instead of filling PATH. - Sign in to GitHub and Bitwarden when asked; enter the Bitwarden master password once when chezmoi applies.
- Sign out and back in. Then re-login to Claude Code, Copilot, Docker and OneDrive.
- Linked folders (
AutoHotKey,FlowLauncher,yasb,komorebi,wpm,claude,psmux,yazi,nvim,powershell,dotforge): edit in place, thenchezmoi cdandgit add/commit/push. - Copied files:
chezmoi edit <file>, or edit the live file and runchezmoi re-add <file>.chezmoi diffshows whatchezmoi applywould change. - Pull changes from another machine:
chezmoi update.
Add it to home/.chezmoidata/packages.yaml (scoop, winget user or
elevated, cargo, node.npm, python, pipx, uvtools, pwsh), then
chezmoi apply. The installer only installs what's missing and never uninstalls.
Add a field or attachment to an item in the Bitwarden dotfiles folder
(ssh-keys, gpg-signing-key, env, flow-github), then reference it from a
template (bitwardenFields, bitwardenAttachment). Never commit secret values;
the pre-commit hook runs gitleaks.
Move the folder into linked/<name>, add a ~/.config/<name> entry to
home/.chezmoidata/links.yaml, then chezmoi apply.
-
chezmoi statusis empty, andgit statusin the source is clean and pushed - Bitwarden
dotfilesfolder hasssh-keys,gpg-signing-key,env,flow-github - New keys or tokens since the last seed are in Bitwarden (
scripts/seed-bitwarden.ps1updates attachments) -
~/dotfiles-backup-*copied to offline media - Anything outside this repo you care about (Documents, Downloads, browser profiles) is backed up
This repo is the hub: the projects below are either used by it or published from it.
- w11dwm-config: The keyboard-driven tiling desktop (komorebi, AutoHotkey, yasb, Flow Launcher, wpm), copied out of dotfiles-windows to share and discuss. Its key bindings, app launcher and window switcher are built on Legend.ahk.
- catelier: A Catppuccin theme for the yasb status bar, in all four flavors with your choice of accent. It's the bar in w11dwm-config and dotfiles-windows.
- zenppuccin: A Catppuccin theme for Zen Browser, in all four flavors with your choice of accent and optional translucency.
- Legend.ahk: An AutoHotkey v2 library: an Alt+/ overlay of the shortcuts for the app you're in, which-key style chord menus, pickers and a window switcher. It runs the keys in w11dwm-config and dotfiles-windows.
- DotForge: A PowerShell module that installs and configures command-line tools: XDG paths, fzf pickers, completions, shell hooks. The PowerShell profile in dotfiles-windows loads it, and it sets up Starship to read the starship-p9cat config.
- starship-p9cat: A Starship prompt in the powerlevel9k style, in Catppuccin colors. It's the prompt in dotfiles-windows, and a port of the CatPow theme from poshcat.omp.
- poshcat.omp: Catppuccin themes for Oh My Posh, including CatPow, a powerlevel10k-style theme. It was my prompt before Starship; starship-p9cat carries CatPow over.