3 ms·
I do this without needing any extra tool[0]. I basically define a custom meta-package with all the packages I want as dependencies and install it with `nix-env
by asymmetric 9y ago
I do this without needing any extra tool[0].
I basically define a custom meta-package with all the packages I want as dependencies and install it with `nix-env -iA`.
[0]: https://github.com/asymmetric/dotfiles/blob/master/config.nix https://github.com/asymmetric/dotfiles/blob/master/config.ni...
- k2enemy 9y agoThanks for linking to this! Do you know of a way to get a list of installed packages then? "nix-env -q" lists the meta-package but not the packages installed within. Also, when you update packages, does the update propagate to the sub-packages?
- asymmetric 9y agoYes, `nix-env -iA` always installs the latest of all the actual packages I have listed there. And as you can see you can also override their config. I don't know how to list installed packages, as I almost never feel like I need to know that (but if you find out how, I'd be happy to know!)
- ben0x539 9y agoI'd expect you list installed packages by pointing your text editor at the file where you defined which packages you want your meta-package to pull in, no?