- [???] Reworked off a mathias base for high sierra 10.13.
- [2020/08/26] Reworked using dotbot
- [2020/09/07] Readme cleanup + dotbot instructions
-
(optional) Extend sudo
timestamp_timeout
while machine is getting setupsudo visudo # Add this to the bottom to extend the timeout to 4 hours Defaults timestamp_timeout=240
-
Bootstrap
- caffinate
- promptless homebrew
- git install
- workspace, git clone
- kill caffinate
(caffeinate &) \ && echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" \ && brew install git \ && mkdir -p ~/workspace \ && ssh-keyscan github.com >> ~/.ssh/known_hosts \ && git clone --recursive https://github.com/yuhunglin/dotfiles.git ~/workspace/dotfiles\ && cd ~/workspace/dotfiles \ && git remote set-url origin git@github.com:yuhunglin/dotfiles.git \ && killall caffeinate
-
Set machine name and stuff:
- set machine name
- ssh-keygen
- add new ssh-key to github
- set shell to bash
~/workspace/dotfiles/scripts/osx_set_machine_name.sh flexo ssh-keygen -t rsa -b 4096 # Copy to github for the new machine cat ~/.ssh/id_rsa.pub sudo chsh -s /usr/local/bin/bash \ && sudo chsh -s /usr/local/bin/bash $(whoami)
-
run dotbot stuff
caffeinate -i ./install-profile osx_monterey
-
Deal with keybase finder issues:
sudo xattr -rd com.apple.quarantine /Library/Filesystems/kbfuse.fs/
to deal with the kbfuse.fs signature issues.
-
keybase gpg stuff:
keybase pgp export | gpg --import
<wherever you get the pgp secret key file> | gpg --allow-secret-key --import
gpg --list-secret-keys
- get the key IDgpg --edit-key ???
- trust fully- Make sure key matches the one listed in gitconfig
- Notes
-
(optional) Remove the sudoers
timestamp_timeout
after machine is setup.
- Other useful commands:
- Standalone config runs:
- homebrew -
caffeinate -i ./install-standalone homebrew
- osx settings -
caffeinate -i ./install-standalone homebrew
- nvim refresh -
caffeinate -i ./install-standalone nvim
- homebrew -
- Standalone config runs:
-
dotfiles/bin
- github releases (for now)
curl -L https://github.com/hashicorp/levant/releases/latest/download/darwin-amd64-levant -o ~/workspace/dotfiles/bin/levant && chmod +x ~/workspace/dotfiles/bin/levant curl -L https://github.com/jetstack/vault-unsealer/releases/latest/download/vault-unsealer_0.3.1_darwin_amd64 -o ~/workspace/dotfiles/bin/vault-unsealer && chmod +x ~/workspace/dotfiles/bin/vault-unsealer
-
Open the following programs to finish installation
- Docker
- Flycut
- Keybase
- MeetingBar
- Spectacle/Rectangle
- VLC
- Viscosity
- Maybe install the printer?
.extras.sample
is copied over to $HOME and an easy way to slot in things that cannot be committed easily.