https://github.com/tifandotme/dotfiles
~/.*
https://github.com/tifandotme/dotfiles
aerospace chezmoi cmux dotfiles ghostty lazygit linux macos nushell osx sketchybar skills vim yazi zed
Last synced: 24 days ago
JSON representation
~/.*
- Host: GitHub
- URL: https://github.com/tifandotme/dotfiles
- Owner: tifandotme
- Created: 2023-02-26T08:41:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-05-27T06:15:07.000Z (30 days ago)
- Last Synced: 2026-05-27T08:12:10.424Z (29 days ago)
- Topics: aerospace, chezmoi, cmux, dotfiles, ghostty, lazygit, linux, macos, nushell, osx, sketchybar, skills, vim, yazi, zed
- Language: Shell
- Homepage:
- Size: 16.5 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# ~/.\*
Dotfiles for exactly two machines:
- a main macOS machine
- an Ubuntu VPS named `box`
## Fresh machine setup
On first apply, `chezmoi` prompts for the passphrase for [`key.txt.age`](./key.txt.age) and writes the decrypted key to `~/.config/chezmoi/key.txt` via [`run_onchange_before_decrypt-private-key.sh.tmpl`](./run_onchange_before_decrypt-private-key.sh.tmpl).
### macOS main machine
1. Install Xcode Command Line Tools.
```bash
xcode-select --install
```
2. Install Homebrew before the first apply.
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
This repo runs `brew bundle` during apply through [`run_onchange_01_install-homebrew.sh.tmpl`](./run_onchange_01_install-homebrew.sh.tmpl). It does not install Homebrew for you.
3. Make sure GitHub SSH access works.
[`.chezmoiexternal.toml`](./.chezmoiexternal.toml) pulls external repos via `git@github.com:...`, even if the main repo is cloned over HTTPS.
4. Install `chezmoi`.
```bash
brew install chezmoi
```
5. Initialize and apply the repo.
```bash
chezmoi init --apply git@github.com:tifandotme/dotfiles.git
```
If you prefer HTTPS for the main repo, that also works:
```bash
chezmoi init --apply https://github.com/tifandotme/dotfiles.git
```
### Ubuntu VPS
1. Install base packages.
```bash
sudo apt update
sudo apt install -y curl git
```
2. Install `chezmoi` with the official installer.
```bash
sh -c "$(curl -fsLS https://get.chezmoi.io)" -- -b "$HOME/.local/bin"
```
3. Initialize and apply the repo.
```bash
~/.local/bin/chezmoi init --apply git@github.com:tifandotme/dotfiles.git
```
If `chezmoi` is already on your path, this also works:
```bash
chezmoi init --apply git@github.com:tifandotme/dotfiles.git
```
Use the HTTPS URL instead if you do not want to set up GitHub SSH for the main repo:
```bash
~/.local/bin/chezmoi init --apply https://github.com/tifandotme/dotfiles.git
```
On Ubuntu, `chezmoi` will skip the macOS-only files. Host-specific files for `box` still apply.
Open a new terminal session after bootstrap so new tools and shell config are on your path.