nvim-devcontainer-cli icon indicating copy to clipboard operation
nvim-devcontainer-cli copied to clipboard

Chezmoi for dotfiles

Open gabyx opened this issue 2 years ago • 2 comments

Would it be possible or meaningful to use chezmoi to configure dotfiles in the devcontainer. I think it would be extremely useful and more general?

https://www.chezmoi.io/

gabyx avatar Jul 10 '23 12:07 gabyx

Thanks for opening this issue @gabyx . The way how the tool works is that you are the one who decide which tools to install inside the devcontainer. As you can see here there is a setup_environment_repo and also the nvim_dotfiles_repo together with their respective ..._command.

The setup_environment_repo installs the dependencies inside the container and nvim_dotfiles_repo the nvim dotfiles. You do not really need the project defined in the documentation https://github.com/arnaupv/dotfiles.git but you can use your own project there and install chezmoi if you want. Then you will need to update the nvim_dotfiles_repo accordingly.

arnaupv avatar Apr 08 '24 10:04 arnaupv

Are you actively using the tool? In case you give it a try I would like to know about and I'm happy to help if needed!

arnaupv avatar Apr 08 '24 10:04 arnaupv