Here are some guidelines to set up a local machine using chezmoi.
We will need curl to install chezmoi
$ sudo apt update
$ sudo apt install curlAnd we will need git to be able to pull the repo locally:
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt update && sudo apt install git
Everything else will be installed by chezmoi.
This single command should be enough:
sh -c "$(curl -fsLS https://get.chezmoi.io)" -- init --apply $GITHUB_USERNAME- Create local ssh keys (following
~/.ssh/config); - Import gpg key.;
- Add internal docker registry to
/etc/docker/daemon.jsonto bypass rate limiting policy.