Giter Site home page Giter Site logo

dotfiles's Introduction

David García Pérez dotfiles

All configuration files in my typical Arch Linux installations. Remember that in that installation you will need the following packages:

base-devel
dhcpcd
inetutils

It is not a bad idea also to install openssh, it will enable to ssh into the machine from other one to perform things like adding ssh keys and copy and paste text. This makes everything easier.

Bootstrap

After basic configuration of your Arch Linux system apply the following command to update the system and install git and ansible.

source <(curl -s https://raw.githubusercontent.com/davidgp1701/dotfiles/master/bootstrap.sh)

Remember to generate some SSH keys that you can add to Github to clone the repo with all the ssh code. As time of writting the ideal algorithm will be:

ssh-keygen -t ed25519 -C "[email protected]"

Before starting the apply.sh script that will run the Ansible configuration to each one of your machines remember that you need first to perform a login action:

bw login

Also ensure ~/Downloads directory exists.

Execution

To configure the system apply the following changes:

./apply.sh

Considerations

The configuration does not manages users in the system, ensure that the user belongs to video group for using things like changing screen backlight in a laptop:

usermod -a -G video david

Software that requieres manual steps:

Docker login using pass

Extracting the steps from here: docker/docker-credential-helpers#102 (comment) . Also the following thread is helpful: https://stackoverflow.com/questions/50151833/cannot-login-to-docker-account

  1. Install pass and gpg
sudo apt-get install pass

or

sudo pacman -S pass
  1. Download the latest version of docker-credential-pass: https://github.com/docker/docker-credential-helpers/releases

For Arch you can use the aur:

paru -S docker-credential-pass
  1. GPG2 should be already installed by the dotfiles

  2. Generate a gpg key for this

gpg2 --gen-key
  1. Initialize pass the newly created key:
pass init "key name"
  1. Add the following to your docker config:
{
	"credsStore": "pass"
}

Now you can perform login to the different docker repositories that require it.

dotfiles's People

Contributors

davidgp1701 avatar

Stargazers

Neal Fultz avatar

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.