Coder Social home page Coder Social logo

0-vortex / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 57.92 MB

A utility first dev tooling repo with dotbot, zsh, antibody, defaults, pkgsrc, plist, fonts, git-extras, git-quick-stats, atom, pip, npm, cargo, go, karabiner, carpalx full optimization.

Home Page: http://0-vortex.github.io/dotfiles

License: BSD 3-Clause "New" or "Revised" License

Shell 81.87% CoffeeScript 1.48% Dockerfile 16.65%
karabiner dotfiles atom zsh cargo dotbot antibody plist fonts git-extras

dotfiles's Introduction

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

dotfiles's People

Contributors

0-vortex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles's Issues

Add Codespaces configuration and make it the default

Having early access to GitHub Codespaces is really nice but the default containers could use some docker layer optimisation and push to the existing 0vortex/dotfiles tag as latest or codespaces.

Some additional configuration is required to make GitHub pull this ready-to-go image in every code space and some dotbot codification to make it potentially skip the configuration entirely in devcontainers.

Add NixOS packages

having recently switched to nixOS, explore versioning the existing configuration under nix-darwin

macOS monterey defaults

move all configuration that is enabled by the defaults command into its own script and remove the screenshots that are redundant

Add Docker builds

Currently the docker push command is run manually.
Switch to GitHub actions would be a good idea, assuming we can limit our builds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.