This dotfiles were originally created using 🌚 dotly. But after some time I migrate to use Sloth because I develop many features to dotly that were not approved after a while and, because, I could not advance more in the development when I wanted, I made my own fork that I have called it Sloth.
This dotfiles are quite close to complete example of the features that Sloth has.
See the information in .Sloth project
Dotfiles are not meant to be cloned and used as template repository. Dotfiles content are personal configuration that probably does not fit to you. This is just and advert, see, click a start, learn and copy.
Feel free to use (issues)[issues] to ask something, report a bug, make a correction in any code or whatever you want to say, ask or teach. I will reply, be sure about it.
This requieres a newer version than official DOTLY version which is in my fork.
- Generate ssh key or import the old one (not recommended) and add it to your GitHub or elsewhere you stored your dotfiles (the public key) to import your dotfiles if the repository is private and to be able to modify your dotfiles.
- Do the same with the repository you have your secrets (if you have your secrets in a repository :).
- Use script to restore
bash <(curl -s https://raw.githubusercontent.com/gtrabanco/sloth/HEAD/restorer) - Authenticate with Infisical:
infisical login(then restart your terminal) - Import your packages
dot package import
- Generate ssh key or import the old one (not recommended) and add it to your GitHub or elsewhere you stored your dotfiles (the public key) to import your dotfiles if the repository is private and to be able to modify your dotfiles.
- Clone your dotfiles repository
git clone [your repository of dotfiles] $HOME/.dotfiles - Go to your dotfiles folder
cd $HOME/.dotfiles - Install git submodules
git submodule update --init --recursive - Install your dotfiles
DOTFILES_PATH="$HOME/.dotfiles" DOTLY_PATH="$DOTFILES_PATH/modules/sloth" SLOTH_PATH="$DOTLY_PATH" "$DOTLY_PATH/bin/dot" self install - Authenticate with Infisical:
infisical login - Restart your terminal
- Import your packages
dot package import
After dot package import:
/usr/local/Caskroom/paragon-ntfs/15/FSInstaller.appSecrets are managed via Infisical. On a fresh machine, run the Infisical setup restoration script or authenticate manually:
infisical loginThe shell init script 00-infisical-dotfiles loads all secrets at shell startup. If you are not logged in, it will log the error to ~/.infisical/init-errors.log and show a message.