mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
I tried Nix, but it had too many downsides so I removed it. 1. Didn't like that all files are immutable and simple config changes need a complete rebuild. 2. Setting up a new Mac didn't work as smoothly as promised. Not worth the effort. 3. It sucked a lot to always have to type in the password twice on each darwin-rebuild 4. It solves problems I never had.
1.0 KiB
1.0 KiB
Dotfiles
Install Dependencies
First, install the Xcode command-line tools:
xcode-select --install
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Initial Software
brew install stow
brew install --cask proton-pass
brew install --cask secretive
Setup SSH
Log into the password manager, start and configure Secretive to setup SSH keys. Add the public key to GitHub and export the SSH_AUTH_SOCK (temporary) to be able to clone with SSH:
export SSH_AUTH_SOCK="$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"
Setup Hostname
sudo scutil --set HostName <hostname>
Clone Dotfiles
git clone git@github.com:kogakure/dotfiles.git ~/.dotfiles
Install Script
Log in with your Apple ID to be able to install app store apps. Run the install script to setup the computer:
cd ~/.dotfiles
./install.sh