Dotfiles handled with chezmoi.
Go to file
Stefan Gaiselmann 2728eb2c95 Secured .sshrc sourcing.
SOURCE_PROFILE and SOURCE_BASHRC are used to enable sourcing of .bashrc
and .profile.
This is due to an alternative way to source .sshrc from .bashrc, an
infinite loop must be avoided if using 's' alias with sourcing .sshrc.
2020-11-08 14:06:53 +01:00
bin Added 'bin' directory. 2020-10-23 14:01:32 +02:00
.chezmoi.toml.tmpl added missing template file 2020-10-23 20:03:34 +02:00
dot_bashrc_linux Added extension include. 2020-10-23 13:29:58 +02:00
dot_gitconfig.tmpl Added gitconfig template. 2020-10-23 13:34:08 +02:00
dot_solarize_colors Added .sshrc with solarized color schema. 2020-10-23 13:33:33 +02:00
dot_solarize_colors_base Added .sshrc with solarized color schema. 2020-10-23 13:33:33 +02:00
dot_sshrc Removed cism stuff. 2020-10-23 18:59:25 +02:00
dot_sshrc.tmpl Secured .sshrc sourcing. 2020-11-08 14:06:53 +01:00
README.adoc AWS Links (create User) added. 2020-11-08 11:21:32 +01:00

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 -y golang golang-bin

  2. install git sudo yum install -y git-all

  3. install chezmoi from git repo (see below)

  4. check GOPATH and adjust if necessary

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

  6. check what will happen with chezmoi diff

  7. TODO: vi .config/chezmoi/chezmoi.toml (Template is not correct)

  8. apply it with chezmoi apply

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

New User

Better try modifications with a new user to keep the defaul user accessible to the system. See below links to proceed.