diff --git a/.github/ISSUE_TEMPLATE/setup.md b/.github/ISSUE_TEMPLATE/setup.md deleted file mode 100644 index 210df48..0000000 --- a/.github/ISSUE_TEMPLATE/setup.md +++ /dev/null @@ -1,51 +0,0 @@ -- [ ] Install Homebrew - `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` - -- [ ] Install [Xcode] - -[xcode]: https://developer.apple.com/download/more/ - -- [ ] Install Ansible - `brew install ansible` - -- [ ] Install `mas` - `brew install mas` - - [ ] Sign in to the Mac App Store - -- [ ] Enable Remote Login - `open /System/Library/PreferencePanes/SharingPref.prefPane` - -- [ ] Clone dotfiles - `git clone --recursive https://github.com/kejadlen/dotfiles.git ~/.dotfiles` - -- [ ] Run Ansible - ```shell - cd ~/.dotfiles/ansible - echo "localhost ansible_connection=local" > hosts.private - ansible-playbook main.yml --ask-pass --ask-become-pass - ``` - -- [ ] macOS preferences - - [ ] Displays - - [ ] Night Shift - - [ ] Keyboard - - [ ] Modifier keys - - [ ] Function keys - - [ ] Siri - - [ ] Disable `Show Siri in menu bar` - -- [ ] Setup programs - - [ ] 1Password - - [ ] Change hotkeys - - [ ] Alfred - - [ ] Arq - - [ ] Bartender - - [ ] Dash - - [ ] Encrypt.me - - [ ] Fantastical - - [ ] Firefox - - [ ] MailMate - - [ ] Slack - - [ ] Discord - - [ ] hammerspoon - - [ ] syncthing diff --git a/README.md b/README.md index 6135ba6..e29a3ed 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,7 @@ provision new machines. [ansible]: https://github.com/ansible/ansible -# Playbooks - -- `bootstrap.yml`: SSH and Homebrew setup -- `main.yml`: Pretty much everything else -- `imac.yml`: For quieting down the broken HDD fan on my iMac -- `macbook_pro.yml`: Remap Caps Lock to Control on the laptop - -# Usage - -Use a [tracking issue][tracking-issue] as a checklist for local provisioning. - -[tracking-issue]: https://github.com/kejadlen/dotfiles/issues/new?template=setup.md +See [ansible/README.md](ansible/README.md) for installation instructions. ## Remote provisioning @@ -35,28 +24,6 @@ ansible-playbook bootstrap.yml --ask-pass --ask-become-pass ansible-playbook main.yml --ask-become-pass ``` -A couple items that I haven't gotten around to automating yet that need to be -manually run post-provisioning: - -``` shell -# Symlink ~/.dotfiles to Dropbox -rm -rf ~/.dotfiles -ln -s ~/Dropbox/dotfiles ~/.dotfiles -``` - -# Development - -Ansible tags are indispensible when tweaking the config: - -``` -- command: echo debug - tags: debug -``` - -``` shell -ansible-playbook main.yml --ask-become-pass --tags=debug -``` - # TODO See [issues](https://github.com/kejadlen/dotfiles/issues). diff --git a/ansible/README.md b/ansible/README.md index 362fa08..4644253 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -1,7 +1,107 @@ # ansible +## Usage + +```sh +# Install Homebrew +`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` + +# Load Homebrew +eval "$(/opt/homebrew/bin/brew shellenv)" + +# Install Ansible +brew install ansible + +# Clone dotfiles +git clone --recursive https://github.com/kejadlen/dotfiles.git ~/.dotfiles + +# Run Ansible +cd ~/.dotfiles/ansible +echo "localhost ansible_connection=local" > hosts.private +ansible-playbook main.yml --ask-become-pass +``` + +- [x] Change computer name under System Preferences -> Sharing + +- [x] 1Password: the first app to set up, since it has the keys for everything else + - [x] Don't show Archive vaults +- [x] [syncthing](http://localhost:8384): start syncing `~/sync` + - [x] `ln -s ~/sync/dotfiles ~/.dotfiles` +- [x] Alfred + - [x] Hotkey + - [x] Clipboard + - [x] Appearance +- [x] Hammerspoon +- [x] Firefox + - [x] Dark Reader + +### macOS System Preferences + +- [ ] Desktop & Screen Saver +- [x] Siri + - [x] Disable `Show Siri in menu bar` +- [x] Notifications & Focus + - [x] Messages - disable sound +- [x] Sound + - [x] Disable startup sound + - [x] Disable user interface sound effects +- [x] Touch ID + - [x] Rename to "right index" + - [x] Add left index +- [x] Keyboard + - [x] Modifier keys +- [x] Displays + - [x] Scaled + - [x] Night Shift +- [x] Sharing + - [x] Remote Login + +### Other Applications + +In rough order of importance: + +- [ ] Arq (for MailMate) +- [x] [MailMate](https://manual.mailmate-app.com/rebuild) + - [x] `~/Library/Application Support/MailMate/*.plist` + - [x] `~/Library/Application Support/MailMate/Resources/` (doesn't seem to exist?) + - [x] `~/Library/Application Support/MailMate/Bundles/` (doesn't seem to exist?) + - [x] `~/Library/Preferences/com.freron.MailMate.plist` +- [x] Fantastical +- [x] Contacts (Monica) +- [x] Bartender +- [ ] Dash +- [x] Reeder +- [x] Shareful +- [ ] Things +- [ ] Anki +- [ ] Social + - [x] Twitterrific + - [x] Slack + - [x] Discord + - [ ] Telegram + - [ ] Signal + +### Etc + +- [x] Install Xcode (`mas install 497799835`) + +## Development + +Ansible tags are indispensable when tweaking the config: + +``` +- command: echo debug + tags: debug +``` + +``` shell +ansible-playbook main.yml --ask-become-pass --tags=debug +``` + ## Raspberry Pi +This should be moved elsewhere... + 1. [Download Raspberian Stretch Lite](https://www.raspberrypi.org/downloads/raspbian/) 1. Install Etcher: `brew cask install balenaetcher` 1. [Flash the SD card](https://www.raspberrypi.org/documentation/installation/installing-images/README.md)