Skip to content

cyprieng/dotfiles

Repository files navigation

Dotfiles

My dotfiles for macOS.

Some files (for example raycast configuration) are encrypted and can only be decrypted with my private password. Do not use the dotfiles as-is but as a base for your configuration.

Initial Setup

If this is your first time setting up this dotfiles repository on a new machine:

1. Generate SSH Key

ssh-keygen -t ed25519 -C "[email protected]"
# Press Enter to accept default location (~/.ssh/id_ed25519)
# Enter a passphrase (recommended)

# Add SSH key to macOS Keychain (stores passphrase)
ssh-add --apple-use-keychain ~/.ssh/id_ed25519

2. Add SSH Key to GitHub

# Copy your public key to clipboard
pbcopy < ~/.ssh/id_ed25519.pub

Then go to GitHub SSH Settings and add your ssh key.

3. Clone the Repository

cd ~
git clone [email protected]:cyprieng/dotfiles.git
cd dotfiles

4. Install

make install

This will run the full installation process (brew, stow, dependencies, and setup).

Available Commands

Run make help to see all available commands:

  • make install - Full installation (runs stow, deps, and setup)
  • make stow - Symlink all dotfiles to your home directory
  • make unstow - Remove all symlinks
  • make init - Install brew and stow
  • make deps - Install all dependencies (Homebrew, Go, Node, Python, Rust packages)
  • make setup - Configure apps & system settings (decrypt secrets, setup git, apply macOS settings)
  • make extra - Install extra applications and configurations
  • make update - Update everything (Homebrew, Node, Python, Rust)
  • make clean - Clean up broken symlinks and Homebrew cache
  • make backup - Backup app configurations (AltTab, BetterTouchTool, Raycast)

Manual process

macOS Settings

  • Reduce animations: Apple menu > System Settings > Accessibility > Motion > Turn on Reduce motion
  • Add qwerty-fr: Apple menu > System Settings > Keyboard > Input Sources > Add qwerty-fr from Others
  • Hide menu bar items: Apple menu > Menu Bar > Hide everything except Aerospace and AlDente (replace native battery with it)

Apps on startup

Make sure the following apps run on startup:

  • Aerospace
  • AlDente
  • CleanShotX
  • Display Link Manager
  • Hammerspoon
  • Raycast
  • AltTab
  • Karabiner
  • BetterTouchTool

Dock

Rearrange Dock:

  • Safari
  • Chrome
  • Claude
  • Mail
  • Ghostty
  • Obsidian

Zen / Chrome

Install the following chrome extensions:

The following Safari extensions:

Add the following bookmarks to the bookmarks bar:

Others

Install CleanMyMac

Change the wallpaper using the ones from wallpaper directory.

Do not forget to log out and log back in to make sure all changes are applied.