You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alpha Chen
6b274de8dd
|
3 years ago | |
---|---|---|
.. | ||
attitude-adjuster | 3 years ago | |
docker | 3 years ago | |
irregular-apocalypse | 3 years ago | |
linode | 3 years ago | |
on-fire-within | 3 years ago | |
playbooks | 3 years ago | |
roles | 3 years ago | |
.gitattributes | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
ansible.cfg | 3 years ago | |
beats-working.yml | 3 years ago | |
congenital-optimist.yml | 3 years ago | |
main.yml | 3 years ago | |
ramble-hard.yml | 3 years ago |
README.md
ansible
Usage
# 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/meta
echo "localhost ansible_connection=local" > hosts.private
ansible-playbook main.yml --ask-become-pass
-
Change computer name under System Preferences -> Sharing
-
1Password: the first app to set up, since it has the keys for everything else
- Don't show Archive vaults
-
syncthing: start syncing
~/sync
ln -s ~/sync/dotfiles ~/.dotfiles
-
Alfred
- Hotkey
- Clipboard
- Appearance
-
Hammerspoon
-
Firefox
- Dark Reader
macOS System Preferences
- Desktop & Screen Saver
- Siri
- Disable
Show Siri in menu bar
- Disable
- Notifications & Focus
- Messages - disable sound
- Sound
- Disable startup sound
- Disable user interface sound effects
- Touch ID
- Rename to "right index"
- Add left index
- Keyboard
- Modifier keys
- Displays
- Scaled
- Night Shift
- Sharing
- Remote Login
Other Applications
In rough order of importance:
- Arq (for MailMate)
- MailMate
~/Library/Application Support/MailMate/*.plist
~/Library/Application Support/MailMate/Resources/
(doesn't seem to exist?)~/Library/Application Support/MailMate/Bundles/
(doesn't seem to exist?)~/Library/Preferences/com.freron.MailMate.plist
- Fantastical
- Contacts (Monica)
- Bartender
- Dash
- Reeder
- Shareful
- Things
- Anki
- Social
- Twitterrific
- Slack
- Discord
- Telegram
- Signal
Etc
- Install Xcode (
mas install 497799835
)
Development
Ansible tags are indispensable when tweaking the config:
- command: echo debug
tags: debug
ansible-playbook main.yml --ask-become-pass --tags=debug
Raspberry Pi
This should be moved elsewhere...
-
Install Etcher:
brew cask install balenaetcher
-
Run the Ansible playbooks
-
Add the host to the
pi_bootstrap
group and set thepassword
variable on the host -
Connect to the host via SSH (so Ansible can piggyback off the existing connection and not have to deal with password shenanigans)
-
ansible-playbook playbooks/pi/bootstrap.yml
-
ansible-playbook {{ host }}/main.yml
etc
- Use
raspi-config
to set up the WiFi
- Additional setup
- Add
scan_ssid=1
to/etc/wpa_supplicant/wpa_supplicant.conf
- Restart WiFi:
wpa_cli -i wlan0 reconfigure
- Use
raspi-config
to set the keyboard layout