snowfallorg / nix-software-center

A simple gtk4/libadwaita software center to easily install and manage nix packages
GNU General Public License v3.0
560 stars 16 forks source link

Install multiple Apps at once #13

Open superbm opened 1 year ago

superbm commented 1 year ago

Support installation of multiple packages at once

As it is probably know, but when we install packages in NixOs with the configuration file we first edit it and than rebuild it. In this method it is normal to add multiple packages to the configuration file and than apply the changes. However, in nix software center the system needs to be rebuild for each installation of a single program.

When several packages needs to be installed this method is very time consuming. In contrast, when there would be a method to first select multiple packages which should be installed/removed and than apply the changes would be much more efficient.

Unfortunately I am not a programmer and do not now how hard this feature it is to implement, but maybe it is not that difficult.

For me this feature would make nix software center an even better program as it is more how the installation of multiple packages with the config file in NixOs works. In addition it would make the usage of the software center more efficient.

vlinkz commented 1 year ago

Definitely a good idea! I don't think it should actually be too difficult to implement, I just need to figure out the UI. Thinking maybe a "+" button next to install, and a list of selected packages in a dropdown in the header bar.

orowith2os commented 1 year ago

Possibly put any requested packages in a queue and after a while (say, 10 minutes) rebuild automatically and add an option to force rebuild at that very moment?