Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 690 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 690 Bytes

Public Dotfiles

Install

Prep

$ brew install stow git git-lfs git-crypt
$ mkdir -p ~/dotfiles
$ cd dotfiles
$ USER=tammersaleh # or whatever
$ TOKEN=OMGSEKRIT # from https://github.com/settings/tokens

Install the public repo (this one):

$ git clone https://${USER}:${TOKEN}@github.com/tammersaleh/dotfiles-public.git public
$ (cd public && git-lfs fetch && git-lfs checkout)

Copy the private key from "somewhere", and install the private repo:

$ git clone https://${USER}:${TOKEN}@github.com/tammersaleh/dotfiles-private.git private
$ (cd private && git crypt unlock /path/to/key)
$ ./public/bin/dotfiles install

Reboot and pray.