Skip to content

davidgp1701/dotfiles

Repository files navigation

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 "your_email@example.com"

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published