Containerise everything, including my dotfiles
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bar
.config
.gnupg
.install
.local/bin
.yadm
.Xresources
.brewfile
.chunkwmrc
.dockerfile
.dockerignore
.drone.yml
.gitconfig
.skhdrc
.versions
.wallpaper.jpg
.zshrc
LICENSE
README.md

README.md

env Build Status

Just storing dotfiles in a repository isn't enough. This is almost all the tools I use, put into a Docker image that I can run anywhere

Todo

  • i3bar
  • macOS support?

Usage

Docker

export PATH="$HOME/.local/bin:$PATH"
curl -fLo ~/.local/bin/runenv https://raw.githubusercontent.com/serverwentdown/env/master/.local/bin/runenv
chmod +x ~/.local/bin/runenv
runenv -h

macOS

brew bundle --file=.brewfile
./.install/dircolors.sh
./.install/pure.sh
# thefuck is installed using homebrew
./.install/zsh-autosuggestions.sh
./.install/zsh-syntax-highlighting.sh
./.install/plug.sh
./.install/yadm.sh
# pass is installed using homebrew
./.install/packr.sh
./.install/caddy.sh
./.install/httpie.sh
# jq is installed using homebrew
# kubectl is installed using homebrew
# minio-client is installed using homebrew
./.install/yarn.sh
yadm clone git@github.com:serverwentdown/env.git

Optional

# requires private key
yadm decrypt
# requires yadm decrypt
git clone git@makerforce.io:ambrose/pass.git ~/.password-store
# takes up a lot of space
sudo ./.install/jdk.sh && sudo ./.install/gradlr.sh
# for desktop environments only
sudo ./.install/desktop.sh && sudo ./.install/firefox.sh

Maintenance

Keep .install synchronised with Dockerfile. Check with:

for f in .install/*; do grep $f .dockerfile -q || echo "Missing: $f"; done