My dotfiles...
Find a file
Fernando Schauenburg 579a870230 bootstrap: make it runnable from anywhere
I was previously using relative paths to $PWD with the implicit
assumption that I would always run `bootstrap` from the dotfiles
root directory. This commit fixes that.
2021-07-22 16:24:17 +02:00
bin bin: rename colorman -> ,man 2021-07-22 16:20:37 +02:00
dircolors replace ansible with bootstrap script 2021-01-03 17:24:48 +01:00
files bin: rename colorman -> ,man 2021-07-22 16:20:37 +02:00
.gitattributes fix path to ssh config so git-crypt can decrypt it 2021-01-05 18:13:09 +01:00
.gitignore Put all dotfiles into one "stow package" 2019-02-18 23:19:28 +01:00
.key Add git-crypt key 2019-06-20 00:47:49 +02:00
bootstrap bootstrap: make it runnable from anywhere 2021-07-22 16:24:17 +02:00
README.md update README 2020-12-23 04:16:49 +00:00

Prerequisites

Only ansible is required for installing the dotfiles.

NOTE: git-crypt and gpg are needed to decrypt sensitive information in the repository, but these are installed by the ansible playbook.

Install ansible on Linux

sudo apt install -y ansible

Install ansible on macOS

brew install ansible

Installation

Steps:

  1. Clone the repo.
  2. Play the local.yml ansible playbook.
  3. Decrypt key & initialize git-crypt to access sensitive data.

Gimme the code:

git clone https://git.schauenburg.me/fernando/dotfiles.git $HOME/.dotfiles
cd $HOME/.dotfiles
ansible-playbook local.yml
gpg -d --output - <(base64 -d .key) | git crypt unlock -