pellets: manage your packages with a configuration file
Hello! A while back I made pellets as a way of keeping track what I installed on my system so that I could clean up things I didn't need anymore. It also made setting up a new machine much quicker. Really what I wanted was something like Nix, but I went on a very long saga trying to use it as a pack...
It's more or less that! Just all in one file and with the ability to annotate it since I don't always remember what I installed a given package for.
However, by design, I like to keep my list of packages updated by hand. This makes it easy for me to, say, install a new package to try something out, and then later get reminded that it's still installed. I can either explicitly add it to my config or let pellets clean it up if I don't want it anymore.
I have not, thanks for the share! I only have one install of Arch at any given time, but I can see how this would be useful otherwise. (And had I known about it beforehand, it might have just been good enough for my use case too.)
Pellets is very much limited to only what packages are installed, and roughly stops there. It's quite simple in its implementation, but this project looks pretty impressive.
In the GitHub readme there is a section on Starting Out. You can use a command to populate an initial list. Ultimately, because the tool is interactive, you can always run it to see the changes it wants to make, abort, and then tweak your config as a result.
It's nothing more fancy than a list of all packages you want installed and a way to install them, in the case of migrating to a new machine. Because I already keep all my dotfiles in a single repo, it was a natural place to put my desired setup as well.