Managing dotfiles securely using chezmoi
chezmoi managed dotfiles for these platforms:
- macOS
- WSL2
- Linux
- Windows
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply stefanschulte- Enable the 1password ssh agent
Start with opening a powershell terminal and run the below commands: (the first command executes the script to install the chezmoi binary, the second command download and applies your dotfiles)
winget install twpayne.chezmoi
chezmoi init --apply --verbose https://github.com/stefanschulte/dotfiles.gitAfter finishing the Windows application installations, we need to setup the 1password ssh agent integration: While documentation for this step is currently out-of-scope of this readme, the only thing you should be required to do is enabling the ssh agent integration in the 1password settings, without having to change any of your files (dotfiles will do that for you anyways).
After having activated 1password ssh agent, now start the newly installed "Ubuntu" app, this will open a terminal and guide you through the initial setup of a barebone Ubuntu WSL environment. After having created your user and password, run the command (from inside the Ubuntu WSL shell) listed under "macOS and Linux" in this readme to bootstrap the Ubuntu WSL environment.
This project is released under the MIT License.