This dotfiles repository is intended to be used for Debian or Ubuntu under WSL2.
- Windows 11
- WSL2
- Debian 12 (bookworm)
This repository uses two package managers with distinct roles:
- Homebrew (
Brewfile): system-level tools, build dependencies, and CLI tools that don't need per-project version pinning (e.g.gcc,cmake,sheldon,starship,zsh). - mise
(
dot_config/mise/config.toml.tmpl): language runtimes and CLI tools that benefit from version management (e.g.node,rust,eza,ripgrep,fzf).
When adding a new tool, prefer mise if it's a versioned runtime or a tool you might want to pin per-project; use Homebrew otherwise.
-
Clone this repository
-
Create
~/.gitconfig_localThe example is
example/.gitconfig_local. -
Create
~/local.zshThe example is
example/local.zsh. -
Move to the cloned repository
-
Execute the install script
chmod +x install-packages.sh ./install-packages.sh
-
Reboot your distribution
mise-managed tools (see "Package management policy" above) become available automatically once the install script finishes running
mise install; no manualmise truststep is needed since the config lives in the global~/.config/mise/config.toml. -
Make a GPG key for GitHub.
If you want to manipulate Git in the GUI within VS Code, do the following.
-
Download Gpg4win
-
Create
~/.gnupg/gpg-agent.conftouch ~/.gnupg/gpg-agent.conf gpg-connect-agent reloadagent /bye -
Reboot a gpg agent
gpg-connect-agent reloadagent /bye
