arnaupv / nvim-devcontainer-cli

MIT License
62 stars 0 forks source link

Chezmoi for dotfiles #18

Open gabyx opened 11 months ago

gabyx commented 11 months ago

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/

arnaupv commented 2 months ago

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 commented 2 months ago

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!