Skip to content

Latest commit

 

History

History
255 lines (183 loc) · 9.27 KB

README.md

File metadata and controls

255 lines (183 loc) · 9.27 KB

0-vortex/dotfiles

docs Commitizen friendly GitHub License

Configuration: zsh, antibody, pkgsrc

Package managers: pip, npm, cargo, go

Submodules: dotbot, powerline, git-extras, git-quick-stats, iterm-color-schemes

Overview

Just want to give it a spin in a sandbox?

docker run -dit --rm --name dotfiles 0vortex/dotfiles 
docker exec -it dotfiles zsh
This is how a full install on a mac should look like

asciicast

Terminal: iTerm3 with ayu theme (managed configuration on macOS)

iTerm3

Text Editor: Atom beta with dash-ui theme (managed plugins on macOS)

Atom

Co-working: VSC Insiders with Nord theme (unmanaged)

VSC Insiders

IDE: WebStorm with Nord theme (unmanaged)

WebStorm

Batteries included

User installed packages

GNU/BSD packages

Python user modules

Darwin only

Node global packages

Darwin only

Rust global packages

Darwin only

Go global packages

Darwin only

Requirements

  1. Install Xcode or run xcode-select --install
  2. Download and install Python
  3. Download and install Node.js
  4. Download and install Go
  5. Download and install Rust via curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  6. Install Atom and CMD+SHIFT+P to Window: Install shell commands
  7. Optional, install GPG Suite
  8. Optional, Install KeyBase

Installation

Clone the package via git:

# macOS
git clone --recurse-submodules -j4 [email protected]:0-vortex/dotfiles.git .dotfiles
cd .dotfiles
./install

How to use

If you are on linux, do lsb_release and then duplicate or rename debian.conf.yaml and populate it with your settings.

Make it your own

Make appropriate git to the config/git/.gitconfig and config/git/.gitignore_global files.

Change npm registry username in the config/node/.npmrc-global file.

Enable or disable macOS defaults folder.

Any changes mentioned above will need reflection in install.conf.yaml.

Set up GPG and commit signing

Copy over your ~/.ssh folder.

Optionally import Keybase gpg key into gpg tools for signed commits (replace keyname with the returned key from list secret keys)

keybase pgp export --secret | gpg --allow-secret-key --import
gpg --list-secret-keys --keyid-format LONG
gpg --armor --export keyname | pbcopy

Dockerize your fork

Assuming you are happy with your fork and just want to show it off, change the following to your docker username and just ship it.

Here are manual examples of all the tags available in the current Dockerfile, testing included.

Debian

docker build -t 0vortex/dotfiles:debian --squash --target debian .
docker run -dit --rm --name dotfiles-debian 0vortex/dotfiles:debian
docker exec -it dotfiles-debian zsh
docker push 0vortex/dotfiles:debian

Ubuntu

docker build -t 0vortex/dotfiles:ubuntu --squash --target ubuntu .
docker run -dit --rm --name dotfiles-ubuntu 0vortex/dotfiles:ubuntu
docker exec -it dotfiles-ubuntu zsh
docker push -0vortex/dotfiles:ubuntu

Alpine

docker build -t 0vortex/dotfiles:alpine --squash --target alpine .
docker run -dit --rm --name dotfiles-alpine 0vortex/dotfiles:alpine
docker exec -it dotfiles-alpine zsh
docker push 0vortex/dotfiles:alpine

Arch

docker build -t 0vortex/dotfiles:arch --squash --target arch .
docker run -dit --rm --name dotfiles-arch 0vortex/dotfiles:arch
docker exec -it dotfiles-arch zsh
docker push 0vortex/dotfiles:arch