Information
# README
These are my dotfiles. There are many like it but these are mine.
## Install new machine
Name your machine
> On your Mac, choose "System Settings", "General" in the sidebar, click "About" on the right.
> Type a new name in the Name field.
> On your Mac the local hostname is the computer’s name with \`.local\` added, and any spaces are replaced with hyphens
Check chezmois idea of the hostname via:
\`\`\`
chezmoi execute-template '\{\{ .chezmoi.hostname \}\}'
\`\`\`
Install homebrew and bootstrap requirements
\`\`\`
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# temporary setup path in zsh until we have fish
eval "$(/opt/homebrew/bin/brew shellenv)"
# install chezmoi and requirements
brew install chezmoi git git-lfs age 1password 1password-cli
git lfs install
\`\`\`
Setup 1Password and sync the vaults.
Initialize chezmoi.
\`\`\`
chezmoi init oschrenk/dotfiles
\`\`\`
Certain files require age decryption. You will be asked a few questions.
These answers are stored in 1Password under "Chezmoi / Age / Key"
\`\`\`
Age identity file location?
Age public key?
\`\`\`
Pull binary assets
\`\`\`
chezmoi cd
git lfs pull
\`\`\`
Apply
\`\`\`
chezmoi apply
\`\`\`
## First run
Follow the on-screen instructions. You will sometimes be asked for a password.
Downloading and compiling all the various applications and packages will take roughly 1 hour.
After casks are installed you can already start important apps and configure them
- App Store
- 1Password
- Security > Touch Id
- Security > Apple Watch.
- Developer > Use the SSH Agent
- Developer > Enable Biometric Unlock
- Ghostty
- SystemSettings > "Privacy & Security > Full disk access..." Allow for ...
- Arc
- open profiles, and log into services
- Atuin
- \`atuin login\`
- Hammerspoon
- Preferences. Apply accessibility settings.
- Karabiner Elements.
- Open. Read "System Extensions Blocked" popup. Click on "Open Security Preferences" and press "Allow".
- IntelliJ.
- Configure plugins.
- AutoDarkMode
- Harpooner
- Hocon
- Ideavim
- Key Promoter
- Kotlin
- Scala
- Change settings
- Don't send statistics
- Photos
- Open to synchronize data
- Spotify
- download "Liked Songs"
- sketchybar
- \`brew services start sketchybar\`
Login:
- Discord
- Slack
Link device:
- Signal
- Telegram
- Whatsapp
## Scoped runs
- \`task brew\` Install taps/brews/apps
- \`task cargo\` Install crates
- \`task extensions\` Install Arc Browser extensions
- \`task go\` Install go apps
- \`task icons\` Install icons
- \`task lua\` Install lua rocks
- \`task node\` Install node tools
- \`task ollama\` Install ollama models
## Steam & Rosetta
\`brew install steam\`
Steam is the last application (I use) not offering a native arm variant for macOS
\`\`\`
# install rosetta 2
# system_profiler SPApplicationsDataType -json | jq -r '.SPApplicationsDataType[] | select (.arch_kind == "arch_i64") | ._name ' | sort
#
# needed for
# Steam
# Steam Helper
softwareupdate --install-rosetta --agree-to-license
\`\`\`