GithubHelp home page GithubHelp logo

jollopre / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 67 KB

My personal dotfiles

License: MIT License

Shell 89.49% Ruby 1.65% Vim Script 8.86%
vim vimrc vim-configuration dotfiles bash git-secret brew zsh brewfile

dotfiles's Introduction

Dotfiles

This repository contains my personal setup for MacOS machine.

Quick Start

  1. Clone this repository:
git clone [email protected]:jollopre/dotfiles.git ~/dotfiles
  1. Import public and private gpg keys from the backup store:
./installer gpg --import-secret-key=/a/path/to/private.key.gpg
./installer gpg --import-public-key=/a/path/to/public.key.gpg

# Check keys are properly imported

./installer gpg --list-secret-keys
./installer gpg --list-public-keys
  1. Run installer
# Run brew bundle to install cask/brew programs
./installer install
# Copy decrypted secret files into ~
./installer copy-secrets
# Copy dotfiles
./installer copy-dotfiles

Encrypt data

We use git-secret to store secrets that otherwise would be compromissed within git versioning. Make sure that public/private gpg keys are stored in the machine beforehand.

New file to be added

In order to add a new file for encrypting, you can type the following:

# Add file to the index of files tracked to be encrypted
git-secret add <filename>
# Encrypts all the files that have been added
git-secret hide

Update existing file

In order to encrypt an updated file, you can modify the file as always but make sure to type:

git-secret hide

and remember, once you are done, please push changes back to this repository :).

dotfiles's People

Contributors

jollopre avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

Document how to import gpg private/public key

It is crucial to have document how to import gpg private/public key in order for the installation to properly work. This is needed because this repository holds secrets that are encrypted/decrypted through gpg

Adding support for .ssh configuration

The .ssh configuration is meant to hold public/private ssh keys in case a machine has to be recovered so that we don't have to issue new keys and update each and every ssh server that we connect

Add HOME to cdpath

CDPATH permits configuring directories to which look for directories without needing to type full path, we would like to add HOME as the first occurrence to look for.

setup for MacOS

We would like to create a consistent installation for MacOS machines instead of dockerised machine. This is due to the fact that we work mostly with Apple machines

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.