dotfiles/README.adoc
Stefan Gaiselmann 250d053ea9 Added description for aws systems.
After first test of playing around.
Has to be adjusted:

- add a new user to keep the system accessible (first .sshrc try failed and no login was possible any more)
2020-11-07 15:10:17 +01:00

1.0 KiB

Dotfiles managed with chezmoi

Initialization

TODO: how to handle a new linux system correctly.

Test with centos7-01:

  1. put executable to HOME dir

  2. add public ssh key to gitea user

  3. initialize with ./chezmoi init sdroid@gitea.sdroid.uber.space:heavy/dotfiles.git

  4. check what will happen with ./chezmoi diff

  5. apply it with ./chezmoi apply

After that a bin directory will exist (if not yet present before), move the executable to this dir to have it PATH.

AWS Systeme (Draft)

TODO: create user file for initialization at provisioning

  1. install go sudo yum install golang golang-bin

  2. install chezmoi from git repo (see below)

  3. check GOPATH and adjust if necessary

  4. initialize with chezmoi init https://gitea.sdroid.uber.space/heavy/dotfiles.git (Use 'heavy' as user).

  5. check what will happen with chezmoi diff

  6. apply it with chezmoi apply

chezmoi installation
cd $(mktemp -d)
git clone --depth=1 https://github.com/twpayne/chezmoi.git
cd chezmoi
go install