I frequently reinstall Linux. Is there a tool to say what to install and configure that I can just run once after OS install? Things like

  • Install neovim, signal, steam
  • Configure firefox, desktop environment

I’m using this for just me, on my personal machine.

I don’t anticipate it’s possible between different distros, so assume I’m reinstalling the same distro.

  • BartyDeCanter@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    I use two tools for this:

    1. https://www.chezmoi.io/ for all my various dotfiles
    2. A bash script I’ve put together over the years that has a list of all the basics that I want and calls whatever the right installer is for them: apt, cargo, brew, or whatever. It has targets for a local workstation, a remote headless server, and MacOS. Then at then the end it runs chezmoi.

    Now, my use case is less “constant fresh install” and more “keep my environment the same across various devices”, as I mostly run Debian Stable and don’t feel the need to constantly tweak things.