/dotfiles

Dotfiles for configuring my personal machines

Primary LanguageLua

dotfiles

This repository tracks the dotfiles on my personal development machines.

Preparation

In order to prepare a fresh install to use my dotfiles, I must perform some initial setup steps before initializing Chezmoi.

macOS

  1. Install Homebrew
  2. Install the Brew recipes
    brew bundle install

Linux

  1. Install chezmoi and initialize it.

    sh -c "$(curl -fsLS git.io/chezmoi)" -- init taiidani
  2. Install Vault.

    curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
    sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
    sudo apt-get update && sudo apt-get install vault

Initialization

  1. Log into Vault with my HCP Vault credentials.
    export VAULT_ADDR=https://rnd.vault.0846e66f-a975-4a88-9e46-6dc6267e9b73.aws.hashicorp.cloud:8200
    export VAULT_NAMESPACE=admin
    vault login --method=userpass username=rnixon
  2. Finally, apply chezmoi into the system.
    chezmoi apply
  3. Follow the instructions provided by the chezmoi scripts.