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 a70f65eccc
[meta][lotus-land-story] delete kuard and babybuddy
3 years ago
..
attitude-adjuster [meta] rename ansible dir to meta 3 years ago
docker Bump nokogiri from 1.13.5 to 1.13.6 in /meta/docker/rzz 3 years ago
irregular-apocalypse [meta] rename ansible dir to meta 3 years ago
linode [meta][lotus-land-story] delete kuard and babybuddy 3 years ago
on-fire-within [meta] traefik shenanigans 3 years ago
playbooks [meta] symlink the 1Password SSH agent.sock 3 years ago
roles [meta] rename ansible dir to meta 3 years ago
.gitattributes [meta] rename ansible dir to meta 3 years ago
.gitignore [meta] rename ansible dir to meta 3 years ago
README.md [meta] rename ansible dir to meta 3 years ago
ansible.cfg [meta] rename ansible dir to meta 3 years ago
beats-working.yml [meta] rename ansible dir to meta 3 years ago
congenital-optimist.yml [meta] rename ansible dir to meta 3 years ago
main.yml [meta] rename ansible dir to meta 3 years ago
ramble-hard.yml [meta] move babybuddy from ramble-hard to lotus-land-story 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
  • 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...

  1. Download Raspberian Stretch Lite

  2. Install Etcher: brew cask install balenaetcher

  3. Flash the SD card

  4. Enable SSH

  5. Run the Ansible playbooks

  6. Add the host to the pi_bootstrap group and set the password variable on the host

  7. Connect to the host via SSH (so Ansible can piggyback off the existing connection and not have to deal with password shenanigans)

  8. ansible-playbook playbooks/pi/bootstrap.yml

  9. ansible-playbook {{ host }}/main.yml

etc

  1. 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
  1. Use raspi-config to set the keyboard layout